Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][FIX] stock_secondary_unit: use @api.model_create_multi decorator in create method of StockMoveLine #2177

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

ced-adhoc
Copy link
Contributor

This fix updates the create method in the StockMoveLine model of the stock_secondary_unit module to use the @api.model_create_multi decorator, as is done in Odoo's native stock.move.line model.
This update ensures the method aligns with Odoo’s standard multi-record creation approach.

Copy link
Contributor

@rousseldenis rousseldenis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rousseldenis rousseldenis added this to the 16.0 milestone Oct 17, 2024
@rousseldenis
Copy link
Contributor

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-2177-by-rousseldenis-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 77d0a1c into OCA:16.0 Oct 17, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at d5ebefb. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants