-
-
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
[15.0][MIG] sale_order_product_recommendation: Migration to 15.0 #2052
[15.0][MIG] sale_order_product_recommendation: Migration to 15.0 #2052
Conversation
@sergio-teruel please review |
0908a2b
to
f0f3b9e
Compare
011571b
to
0e083cd
Compare
Please include #2065 |
@cesar-tecnativa Could you fix tests ? Thanks |
0e083cd
to
dbf0d46
Compare
Done |
@cesar-tecnativa please... fix the tests |
9536fe2
to
ae405cc
Compare
@victoralmau Could you please review this PR? |
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.
Cherry-pick the commit for the new UoM column and put it before the migration
ae405cc
to
5074f9c
Compare
a8933de
to
f812ab6
Compare
/ocabot migration sale_order_product_recommendation |
sale_order_product_recommendation/wizards/sale_order_recommendation.py
Outdated
Show resolved
Hide resolved
sale_order_product_recommendation/wizards/sale_order_recommendation.py
Outdated
Show resolved
Hide resolved
sale_order_product_recommendation/wizards/sale_order_recommendation_view.xml
Outdated
Show resolved
Hide resolved
c57bcee
to
566d887
Compare
@chienandalu could you please review this? |
@LudLaf could you review this? |
…fied` It's better to simply check the flag condition than to keep that field.
…t to product default one Having a related field to default sale secondary UoM makes this recommendator to not fit possible different secondary UoM to be used. This commit fixes this behavior. A refactoring on the main module having a prepare method hook has been needed.
…hanges Previous code was not very resilient to possible extra adaptations or require specific code to be added to the old hook `_trigger_so_line_onchanges`. With this, we make sure all onchanges are executed thanks to the odoo.tests.Form class. We lose a bit of performance, but it's better than to have issues with data not correctly synchronized.
For avoiding errors like accessing mail.tracking.value when changing values.
…ct.product model instead of product.template in wizard kanban view. TT26749
…from listprice or from last sale order. TT26727
…from listprice or from last sale order. Computed with ORM instead of sql queries TT26727
… line with last_sale_order price unit from recommendation line TT27183
…recommendation wizard always sort by times delivered desc (even if the sale order already has any line)
ad58800
to
5d30bf7
Compare
5d30bf7
to
582b9a8
Compare
Module functionality is working fine. |
/ocabot merge nobump |
On my way to merge this fine PR! |
Congratulations, your PR was merged at c233726. Thanks a lot for contributing to OCA. ❤️ |
@Tecnativa TT36525