5dd70ed8b6cd38cb0e8869226390f254ffecac54
Quantity done will be always editable. Different use case: 1. If there is not location/package/tracing/owner -> same behavior than before 2. If the details are needed: - Immediate transfer. In case of increase the quants are reserved and the `qty_done` on `stock.move.line` is increased depending the reservation. If the quantity couldn't be fully reserve then default `stock.move.line` are create (depending the putaway rules or multiple ones if the products are tracked). In case of decrease, the quantity reserved are unreserve but the `stock.move.line` are not unlink until the validation. - Planned transfer. The quantity done will fill the reservation. If the picking is not assign, it will reserve the quantity needed. In case of decrease, it will only unreserve the extra quantity (compare to the initial demand). To unreserve the quantity bellow the intial demand, the `stock.move.line` could be unlink or use the `unreserve` button. force_qty in `_action_assign` is needed because we don't reserve only base on the initial demand (`product_uom_qty`) but sometimes on the quantity_done. In order to never block the user. The action_show_details is always available. If the id is not available, it will save and open the record (we take the record based on the new existing line with same product and highest id). closes odoo/odoo#102738 Task-id: 2960983 X-original-commit: cacc677a08066bc23e1c89df36027599d05f2a08 Related: odoo/enterprise#32555 Signed-off-by: William Henrotin (whe) <whe@odoo.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, ...
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.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%