Thursday, August 23, 2018
2 changes
Resolved issues and error corrections
This fix ensures reference units must always use a conversion factor of 1, including when records are imported in bulk. It prevents incorrect quantity calculations that could affect stock movements and other product measurements.
Original PR description
Hi @bst-odoo @nim-odoo I don't find the fix for https://github.com/odoo/odoo/pull/22025 in master. Please find this following PR. **Description of the issue/feature this PR addresses:** There no…
Hi @bst-odoo @nim-odoo I don't find the fix for https://github.com/odoo/odoo/pull/22025 in master. Please find this following PR. **Description of the issue/feature this PR addresses:** There no constrains to force factor = 1 if it is a reference unit (there is only an onchange). It can be result some wrong compute with `_compute_quantity`. Especially for the field `product_qty` in `stock.move`, which is a compute field from `product_uom_qty`. If there are an factor on a Reference unit, the compute will be wrong. Because `_compute_quantity` doesn't check if it is a reference or no, and use anyway the stored factor. https://github.com/odoo/odoo/blob/11.0/addons/product/models/product_uom.py#L92. **Current behavior before PR:** - import by CSV an unit with : factor= 11, uom_type = 'reference' - no error **Desired behavior after PR is merged:** - import by CSV an unit with : factor= 11, uom_type = 'reference' --> Raise  -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Manufacturing bills of materials now handle components linked to multiple values of the same product attribute as alternatives instead of requiring all values at once. This ensures the right component is consumed for products such as grey or yellow variants, avoiding impossible variant matches and improving production accuracy.
Original PR description
<b> Task:</b> https://www.odoo.com/web?#id=1865604&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 <b> Pad:</b> https://pad.odoo.com/p/r.529f62cf4d3978ac5eae3fc6eba04781 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr