37dab1bc07c81bc98a48e98e52d7ec718c9dbbb4
`compute_sudo=True` execute the compute method as super user, to avoid access error. This also allow to trigger other computation in cascade without being stopped by access right error if the system has job to do. However, during a onchange, the method is not executed as super user, so access error can raise. An explicit `sudo()`in the compute method is required, in addition to the 'compute_sudo` on the field (usefull when storing value). This commit avoid the problem when a user (that is no timesheet user) try to add a SO line the delivered qty is based on its related timesheets (analytic lines).
…
…
…
…
…
…
…
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%