f60e9b07b6f5fbcdf31f4066948f6997df39373c
Steps to reproduce: - Deliver an SN-tracked product with the Destination Package set (put in pack button also sets this). - Return that product without setting the Source Package (you can also click "put in pack" which will put the product in yet another pack). - This already results in two lines with the same SN in the same location, one with +1.00 and one with -1.00 quantity. - Deliver that product again and put in pack. - Now there's three lines with the same SN in the same location, two with +1.00 and one with -1.00 quantity. Bug: source Package isn't set bydefault when confirming the move_line we update the stock quantity for that lot_id and Package set to False the existing quantity has a Package set so it is filtered out and a new negative quantity is created Fix: set the source Package on the return opw-3179388 closes odoo/odoo#132056 X-original-commit: 9d2d3911a3ac6711d3040d22e146f9eb18de2197 Signed-off-by: Adrien Widart (awt) <awt@odoo.com> 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%