39c3abc5fb5310e9df52ffee1a846a47dc30d40e
Steps to reproduce the bug: - Create product A (type='product',tracking='lot') - Create product B (type='product',tracking='lot') - Create product Z(type='consu',tracking='none') - Create BoM for product Z with product A as component and product B as sub_product (i.e. By product) + create any routing (i.e. 1 operation). - Create an MO for product z, plan it, process the given work order, input the serial/lot for the components and byproducts... Bug: Two lines for product B were displayed in the finished_move_line_ids of the MO This bug occured in enterprise because the function _create_checks defined on model 'mrp.workorder' creates the quality checks that create the finished_move_line_ids for the by_product tracked by lot or by serial number (in fuction _update_active_move_line defined on model 'mrp.workorder'). So the finished_move_line_ids were created two times with the ones created in fuction record_production defined on model 'mrp.workorder' in community. Co-authored-by: amoyaux <arm@odoo.com> opw:1963163 closes odoo/odoo#32779 Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%