-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[MIG] sale_order_type: Migration to 17.0 #2836
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
Conversation
FIX case of tests DEL refund journal field on sale order type, now same invoice journal should be used for refunds FIX case of test FIX sale order test
Conflicts: sale_order_type/models/sale_order.py sale_order_type/models/stock_picking.py sale_order_type/tests/test_sale_order_type.py ADD Payment Term, Pricelist and Incoterm to sale order type Conflicts: sale_order_type/models/sale_order.py sale_order_type/tests/test_sale_order_type.py sale_order_type/views/sale_order_type_view.xml ADD sale type for invoices Conflicts: sale_order_type/README.rst sale_order_type/models/account_invoice.py sale_order_type/tests/test_sale_order_type.py IMP description
ADD multicompany rule for sale.order.type and company in sale.order.type (OCA#292) [IMP] sale_order_type: multicompany handle Conflicts: sale_order_type/models/sale_order_type.py
[UPD] Update sale_order_type.pot
The other one is a fake one that is dangling
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: sale-workflow-16.0/sale-workflow-16.0-sale_order_type Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_order_type/
Currently translated at 55.8% (24 of 43 strings) Translation: sale-workflow-16.0/sale-workflow-16.0-sale_order_type Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_order_type/it/
|
Functional LGTM |
celm1990
left a comment
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.
The CI has failed, check test
| compute="_compute_sale_type_id", | ||
| store=True, | ||
| readonly=True, | ||
| readonly="state not in ['draft']", |
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.
These attributes should now be in XML instead of .py files and must be evaluated as Booleans. Please refer to the logs of the test for more information.
sale_order_type/models/sale.py
Outdated
| precompute=True, | ||
| store=True, | ||
| readonly=False, | ||
| readonly="state in ['draft']", |
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.
same here
b6d54b6 to
0c3744d
Compare
0c3744d to
15ac103
Compare
|
@celm1990 It's ready |
celm1990
left a comment
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.
LGTM
15ac103 to
a82faee
Compare
pedrobaeza
left a comment
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.
/ocabot merge nobump
|
/ocabot migration sale_order_type |
|
This PR looks fantastic, let's merge it! |
|
Congratulations, your PR was merged at f986599. Thanks a lot for contributing to OCA. ❤️ |
No description provided.