diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2018-08-09 11:29:27 +0200 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2018-08-10 09:45:06 +0200 |
| commit | da2140b72678ba8ef7bc5e5f3094e75e753a18f4 (patch) | |
| tree | 269cbca91cb46a5cfa6d27f33a81305885a3033f /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 4f4fdb2f3520ffc7d3c053fb10e99a87c0bca571 (diff) | |
[FIX] sale_timesheet: choose the project's company to determine cost
Companies:
B child of A
User:
Demo in B not in A
Admin in A
Create a product with Admin:
track service = timesheet on project
invoicing policy = delivered quantities
Create a SO with Demo and validate, a project is created
Now, make the demo user timzsheet on it
Before this commit, there was an access error on company,
that was because the the company that was choosen to determine the cost, was the one on the employee, which could be
in another company than the user and moreover than the project
After this commit, we take the company of the project
OPW 1871440
closes #26271
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
