diff options
| author | Olivier Dony <odo@openerp.com> | 2016-05-09 17:15:26 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2016-05-10 12:01:28 +0200 |
| commit | 0b55f2ee6d55365ae0f06473585d543f1cc7b259 (patch) | |
| tree | dc3b777296f613402292f7d30f99b39cf6a6e43c /addons/web/static/src/js/framework/data_manager.js | |
| parent | ba2a47e91b6f464f7b7c4ce0c20cf739825c590b (diff) | |
[IMP] sale_timesheet: timesheet smart button - display correct lines
- As of 9.0 there is a discrepancy between the smart button showing
the "total timesheet" entries at the top of a Sales Order, and the
actual timesheet lines used to computed the "delivered quantity"
of the lines of that SO.
Fix this by simply counting all the timesheet lines assigned to
the SO lines.
- Also replace the sum of "timesheets" mixing different UoMs with a
simple count of the lines, on the smart button.
It's not going to match the sum of the "delivered qty" on the
lines anyway (due to diff. UoMs), so let's show something that makes
sense all the time.
- Finally, use a more logical plural form in the smart button label
Diffstat (limited to 'addons/web/static/src/js/framework/data_manager.js')
0 files changed, 0 insertions, 0 deletions
