183e632c0ad8e3721d5e628e36ab7598f666b04d
Be in multi-company, with shared products, let P be a product in company C. Suppose there are stock moves or pickings in company C'. Suppose a non-admin writes on P: it triggers an access error. Stock moves are not shared across companies in all cases. So fields that depend on product_id might trigger a recompute on stock.moves that are in another company, and thus trigger a spurious ACL error while simply writing product attributes. Note that _cal_move_weight depends on product_qty, however it is not sufficient to only put that field in compute_sudo; the product_qty has already been marked as todo, and so it is recomputed in the initial environment. opw 2066691 forward port of 7d4d8fa18aecb3b78c8d359434a165c1de71a9b4 closes odoo/odoo#36838 Signed-off-by: Nans Lefebvre (len) <len@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, 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%