3a4574d67fbc2a3dc8b36f44ccacc8dca85b8c7b
The error is caused by this commit: https://github.com/odoo/odoo/commit/e21c17fae8a29c8ee04883b27d761b8ce13cf5b7 Steps to reproduce the bug: - Enable Storage location in inventory setting - Create a storable product “P1”: - Tracked: SN - Create a purchase order with 1 unit of P1 - Receive product: - location: WH/stock/shelf 1 - SN: S1 - Valide the delivery - Go to the product form - update the quantity: - new quant: - Location: WH/stock/shelf 2 - SN: use the same as shelf 1 (S1) - You will receive a warning informing you that S1 is already used in another location (this is expected), but the quant is still created with this SN. - Now try to clear the quant or refresh the page. Problem: You will always get a user error: "Quant's editing is restricted, you can't do this operation." This occurs because the field "sn_duplicated" is computed, and the write function is called to set it as True. However, since this field is not included in the allowed fields, the user error will always be triggered. opw-3511463 closes odoo/odoo#137206 X-original-commit: 3a7b781dc1fad41ca0120c48f7587edb6d7adafe Signed-off-by: William Henrotin (whe) <whe@odoo.com> Signed-off-by: Djamel Touati (otd) <otd@odoo.com> Co-authored-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%