[19.0][MIG]: sale_order_secondary_unit#4175
Open
JochenDeBie wants to merge 51 commits intoOCA:19.0from
Open
Conversation
…dary product unit
…his module instead of product_secondary_unit
Added domain to limit `secondary_uom_id` to the one defined in product template
…prove inheritance). TT36255
As the test should only test that no change on the UoM quantity is done when modifying the secondary unit, we remember the existing quantity and compare it later with the final value, instead of testing against a fixed value, so any interaction with other modules don't interfere.
Currently translated at 100.0% (18 of 18 strings) Translation: sale-workflow-15.0/sale-workflow-15.0-sale_order_secondary_unit Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-15-0/sale-workflow-15-0-sale_order_secondary_unit/es/
Currently translated at 38.8% (7 of 18 strings) Translation: sale-workflow-15.0/sale-workflow-15.0-sale_order_secondary_unit Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-15-0/sale-workflow-15-0-sale_order_secondary_unit/fi/
- Include context keys for avoiding mail operations overhead.
…uom to variants TT45597
…ary_uom_qty is filled
…y quantity fields optional TT49686
Currently translated at 100.0% (18 of 18 strings) Translation: sale-workflow-17.0/sale-workflow-17.0-sale_order_secondary_unit Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_order_secondary_unit/it/
The behaviour of odoo in v17 when modifying an existing order line is to recalculate the price based on the price set on the product and not on the line. This module itself had an error in its tests as it was checking a price based on the modified price of the line (1000) which was not correct as when modifying any data of the order line the price was recalculated based on the price of the product which by default is 1 if it has not been set. TT54893
…creating product attributes It avoids the collision with the number_uniq constraint in product.attribute of the product_variant_default_code module, which applies uniqueness even on translated names. TT54893
…duct_matrix TT52360
…ndary uom without product in sale order line TT51683
In some cases we might want to skip the default secondary unit to be set. This change brings that possibility. TT52531
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.
Depends on: