41d458d91dc28fe6f56fe24f09c05427d5b185ab
Issue: Since PR #80434, for versions 15.2 onward stock.move.line changed the product_qty field to reserved_qty. When doing this change, the compute and inverse function definitions were changed, but the inverse method on the field was never corrected. This means that if something tries to write to reserved_qty a traceback will occur: AttributeError: 'stock.move.line' object has no attribute '_set_product_qty' To recreate this error, make a write call on stock.move.line to reserved_qty and you will get the traceback instead of the UserError. Solution: Change the field's definition to the correct function name (_set_reserved_qty) leads to the proper UserError instead of a traceback. opw-3204213 closes odoo/odoo#113812 X-original-commit: 5ac0568af2909864a2231309fa3e72397a581957 Signed-off-by: Tiffany Chang <tic@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%