-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[14.0][MIG] sale_elaboration: Migration to v14 #2203
Conversation
Currently translated at 36.7% (11 of 30 strings) Translation: sale-workflow-11.0/sale-workflow-11.0-sale_elaboration Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-11-0/sale-workflow-11-0-sale_elaboration/de/
…r changes product
…sale order view to store the value in onchange method
…inventory reporting
This PR superseds this other: #1341 |
/ocabot migration sale_elaboration |
The migration issue (#1274) has been updated to reference the current pull request. |
from odoo import api, fields, models | ||
|
||
|
||
def _execute_onchanges(records, field_name): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know you don't like onchange_helper, but you could avoid code duplicates like this...
I encourage you to reconsider
5cf24f9
to
1da856e
Compare
Added comment and added changes suggested by @victoralmau in other PR. We prefer to keep mantaing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review OK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
non-blocking suggestion
"""Give preference to codes on name search, appending | ||
the rest of the results after. | ||
""" | ||
args = args if args else [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it is modified, this is simpler:
args = args if args else [] | |
args = args or [] |
1da856e
to
72ba394
Compare
Changed @carlosdauden 😃 |
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 740eab5. Thanks a lot for contributing to OCA. ❤️ |
cc @Tecnativa TT37689
please @carlosdauden @sergio-teruel review this