-
- Downloads
[IMP] hr_timesheet, sale_timesheet: Set task analytic account
Purpose
=======
Currently, it is only possible to set an Analytic Account for a whole Project, there
is no distinction by task. However, if the user has 1 task per customer, he cannot
track the costs and revenues for that specific customer easily. He has to manually
change the AA of the timesheets' analytic lines. An option would be to set a
different AA on the SO generating the task, but the AA of the project takes over
anyway.
Specifications
==============
If the user sets an AA on the SO, it should bypass the one set on the project
Add an AA field below the Email cc one on tasks in debug mode
- should be related to the AA field from the SO
- it should also bypass the AA set on the project
All the timesheets from this task should be related to the AA field set on the SO/Task
closes odoo/odoo#40844
Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
Showing
- addons/hr_timesheet/models/project.py 7 additions, 1 deletionaddons/hr_timesheet/models/project.py
- addons/sale_timesheet/models/account.py 5 additions, 0 deletionsaddons/sale_timesheet/models/account.py
- addons/sale_timesheet/models/project.py 7 additions, 0 deletionsaddons/sale_timesheet/models/project.py
- addons/sale_timesheet/views/project_task_views.xml 3 additions, 0 deletionsaddons/sale_timesheet/views/project_task_views.xml
Please register or sign in to comment