20f3290eab2bb8044fcddc4111f7206e57f05c24
When a project user (without any sales acces rights) want to create a task in a billable project (linked to a sales order / sales order line), he will face some access right issues : 1/ the system want to set the default customer on the task, by taking the one from the sale order line linked to the project in which the task is created. This raises an error as the task creator has no right to read the project'sale line. 2/ after that, the "sales order" field is computed on the task. This raises the same error as we need acces through sale line to determine the sales order of the task. This commit fixes thoses problem by adding a `sudo` and by adding the "sales order" field only for sales person. opw-1999673
…
…
…
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%