[UPD] 18.0#4
Merged
CILC98 merged 248 commits intoTRESCLOUD:18.0from Jan 12, 2026
Merged
Conversation
* [ADD] Module to set the internal reference of the product as required.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: product-attribute-15.0/product-attribute-15.0-product_code_mandatory Translate-URL: https://translation.odoo-community.org/projects/product-attribute-15-0/product-attribute-15-0-product_code_mandatory/
Move setUp test class to setUpClass for better performant [ADD] product_code_mandatory: Add contributors [IMP] product_cost_security: clarify product cost edit required permissions As seen in OCA/margin-analysis#198 (review), a user needs some other group that grants them permissions for editing products, apart from this one that allows them to edit product cost. This might not seem obvious to the user, so it's better to document it. Btw, I renamed the groups to be shorter. Still easy to understand, now that groups are grouped (🥁). @moduon MT-5158 [UPD] Update product_cost_security.pot [BOT] post-merge updates Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: product-attribute-16.0/product-attribute-16.0-product_cost_security Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_cost_security/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: product-attribute-17.0/product-attribute-17.0-product_code_mandatory Translate-URL: https://translation.odoo-community.org/projects/product-attribute-17-0/product-attribute-17-0-product_code_mandatory/
Currently translated at 100.0% (3 of 3 strings) Translation: product-attribute-17.0/product-attribute-17.0-product_code_mandatory Translate-URL: https://translation.odoo-community.org/projects/product-attribute-17-0/product-attribute-17-0-product_code_mandatory/it/
…n logic pluggable
Currently translated at 100.0% (16 of 16 strings) Translation: product-attribute-18.0/product-attribute-18.0-product_sequence Translate-URL: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_sequence/ca/
Currently translated at 100.0% (3 of 3 strings) Translation: product-attribute-18.0/product-attribute-18.0-product_packaging_archive Translate-URL: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_packaging_archive/it/
Currently translated at 98.1% (54 of 55 strings) Translation: product-attribute-18.0/product-attribute-18.0-product_customerinfo Translate-URL: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_customerinfo/tr/
…ices in the pricelist When the pricelist is used in the sale order, this does not work because in v18 the _compute_price_rule function only computes the pricelist_item_id field. https://github.com/odoo/odoo/blob/37bf1703c7478a3010b71cd60bbb43b3295a605b/addons/sale/models/sale_order_line.py#L554 The price_unit is computed based on pricelist_item_id, but using the _compute_price function: https://github.com/odoo/odoo/blob/37bf1703c7478a3010b71cd60bbb43b3295a605b/addons/sale/models/sale_order_line.py#L658C40-L658C54 This commit updates the function to work correctly in all places by inheriting the more atomic function.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: product-attribute-18.0/product-attribute-18.0-product_pricelist_direct_print Translate-URL: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_pricelist_direct_print/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: product-attribute-18.0/product-attribute-18.0-product_multi_price Translate-URL: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_multi_price/
Currently translated at 100.0% (104 of 104 strings) Translation: product-attribute-18.0/product-attribute-18.0-product_pricelist_direct_print Translate-URL: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_pricelist_direct_print/it/
Currently translated at 100.0% (25 of 25 strings) Translation: product-attribute-18.0/product-attribute-18.0-product_multi_price Translate-URL: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_multi_price/it/
CILC98
approved these changes
Jan 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.