a650f2359b7970ae130d266a5b5b60d6062b517a
- Define a Component A tracked by lot. - Define a Final Product B tracked by lot. - Create a BOM, e.g. 5 units of A to produce B. - Get some quantity of A in a sub-location, e.g. 'WH/Stock/Shelf 1'. - Create a MO for 1 unit of B. - When clicking on 'Produce', record 6 units consumed instead of 5. - Post the inventory 5 units of A is removed from 'WH/Stock/Shelf 1' and 1 unit of A is removed from 'WH/Stock'. The latter might create a negative quant if no stock is available in 'WH/Stock'. When the extra move line is created, it is created using the data of the stock move (in `_generate_consumed_move_line`). When posting the inventory, the quants selection is made strictly in the location set (in `_update_available_quantity`), which might cause the mentioned negative quant. The solution is to select a sub-location where the product can be found. This gives a higher chance to avoid negative quants afterwards. Note that if we wanted to avoid negative quants, we could make a reservation process on the move, and potentially create several stock move lines. This is beyond the scope of the integration of MRP with sub-locations. opw-803969
…
…
…
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%