diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2018-01-22 12:51:32 +0100 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2018-01-23 16:56:16 +0100 |
| commit | b8f8012af8e9a7b9974a6578133e81ea890b0f23 (patch) | |
| tree | 2234b529e65b4fee63efa3c8c24c0194d7aba8c3 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | dec50fc19bdf8a5026081aa4826ad779cf0ea009 (diff) | |
[FIX] sale_timesheet: recompute delivered qty
- Create a product with 'Service Tracking' as 'Create a task in a new
project'
- Create a SO with this product, validate
- In the created task, add a timesheet line
The delivered quantity is not updated on the SO.
In method `_analytic_compute_delivered_quantity`, the item is skipped if
the field `product_uom_id` is not set on the analytic line. However,
`product_uom_id` is set in method `_timesheet_postprocess`, which is
called after `_analytic_compute_delivered_quantity`.
Therefore, we move this part in `_timesheet_preprocess`.
opw-805533
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
