[17.0] [MIG] product_pricelist_simulation: Migration to 17.0#1653
Conversation
Co-authored-by: Sylvain LE GAL <sylvain.legal@grap.coop> Co-authored-by: Pedro M. Baeza <pedro.baeza@tecnativa.com>
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_simulation Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_simulation/
Currently translated at 100.0% (22 of 22 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_simulation Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_simulation/es/
Currently translated at 100.0% (22 of 22 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_simulation Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_simulation/pt_BR/
SavepointCase is deprecated and it was making CI fail.
Currently translated at 100.0% (22 of 22 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_simulation Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_simulation/it/
It reduces the confusion specially when changing the qty to a value greater than 1.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_simulation Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_simulation/
Currently translated at 100.0% (22 of 22 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_simulation Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_simulation/it/
Currently translated at 100.0% (22 of 22 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_simulation Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_simulation/pt_BR/
Currently translated at 100.0% (22 of 22 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_simulation Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_simulation/es/
Monetary fields do not have any digits attribute since their precision comes from the currency. There's also no need to specify a currency field when currency_id is available on the model.
Currently translated at 100.0% (22 of 22 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_simulation Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_simulation/tr/
|
/ocabot migration product_pricelist_simulation |
| self.assertAlmostEqual(wizard_form.line_ids._records[0]["price"], 80.0) | ||
| self.assertAlmostEqual(wizard_form.line_ids._records[1]["price"], 50.0) | ||
| # # Template 2 |
There was a problem hiding this comment.
The sorting order for the pricelist has been changed in Odoo
v16: https://github.com/odoo/odoo/blob/16.0/addons/product/models/product_pricelist.py#L12
v17: https://github.com/odoo/odoo/blob/17.0/addons/product/models/product_pricelist.py#L13
which causes the order of wizard lines to be sorted.
| @@ -0,0 +1,2 @@ | |||
| "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" | |||
| "access_wizard_preview_pricelist","access.wizard.preview.pricelist","model_wizard_preview_pricelist","base.group_system",1,1,1,0 | |||
There was a problem hiding this comment.
Please double-check security for model wizard.preview.pricelist.line
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
|
/ocabot merge nobump |
|
Hey, thanks for contributing! Proceeding to merge this for you. |
|
Congratulations, your PR was merged at 81761d2. Thanks a lot for contributing to OCA. ❤️ |
No description provided.