-
- Downloads
[FIX] sale_timesheet: prevent multicompany issue on SOL
Steps to reproduce:
- Create an SO for a prepaid service in company A and confirm it
- Create a project and a task in company B and select the customer linked to the SO you previously created
- Unselect company A from the multi-company widget; only display the records from company B
- Timesheet on the task you previously created
Observed behavior:
- The SOL set by default belongs to company A, thus generating an access right error when trying to timesheet on the task
Expected behavior:
- The SOL set by default should belong to the same company as the task
task-2515259
closes odoo/odoo#69783
Related: odoo/enterprise#17921
Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
Showing
- addons/sale_project/models/product.py 2 additions, 0 deletionsaddons/sale_project/models/product.py
- addons/sale_project/models/project.py 1 addition, 1 deletionaddons/sale_project/models/project.py
- addons/sale_timesheet/models/product.py 2 additions, 2 deletionsaddons/sale_timesheet/models/product.py
- addons/sale_timesheet/models/project.py 1 addition, 1 deletionaddons/sale_timesheet/models/project.py
Loading
Please register or sign in to comment