diff options
| author | Goffin Simon <sig@odoo.com> | 2018-07-09 17:24:30 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2018-07-10 13:52:31 +0200 |
| commit | 371a92fb3086fb4f972ca96ec4a79c2a539f428a (patch) | |
| tree | 3da71ab20813961993f66e699f909c0f8b39ec76 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 96f01c08f8cd15cd572333fafed4456e4f6ef88a (diff) | |
[FIX] hr_timesheet: Removing task on a timesheet line
Steps to reproduce the bug:
- A product is configured as a service + invoicing policy as "Timesheet on task" + Create a task in an existing project.
- Create a SO with this product and confirm it.
- Go to the task, and create a timesheet on it, the delivered quantity on the SO is correctly updated.
- Now, go to the Timesheets app and remove the task from the analytic line.
Bug:
The Delivered quantity on the Sale Order was not updated.
PS: The case where so_line is in the values is already taken into account by the overwrite of
function write in addons/sale/models/analytic.py
But as task implies so line (as explained in addons/sale_timesheet/models/account.py in function _timesheet_preprocess),
the delivered qty of a so line must be recomputed when its task is modified.
opw:1864313
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
