diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-03-15 13:55:59 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-03-15 14:11:04 +0000 |
| commit | 72bc566ad8bfea5745fc3ae846d36fd897daf68a (patch) | |
| tree | fbeee6ff19acc7ad087ebefa384f791c190c5cd2 /addons/website_partner | |
| parent | a710a86993cdcda679f4198b9ec9a8b51c0dcd31 (diff) | |
[FIX] sale_timesheet: project template
- Create 2 companies A & B
- Set the superuser in A
- Create a product P:
Product Type: 'Service'
Service Tracking: 'Create a task in a new project'
Project Template: set one for both companies
- Switch to company B
- Create a SO with P, validate
- Access the project through the stat button 'Project(s) Overview'
An `AccessError` is raised.
In case no 'Project Template' has been set for company A, the project is
created without the specified template.
This is because the new project is created as `sudo`, and the
`project_template_id` field is a company-dependant field. Therefore, a
project template from company A is used to create a project in company
B.
opw-1953011
closes odoo/odoo#31883
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/website_partner')
0 files changed, 0 insertions, 0 deletions
