diff options
| author | Olivier Dony <odo@openerp.com> | 2013-01-10 18:11:00 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2013-01-10 18:11:00 +0100 |
| commit | 943453798652f3749f1b40fb9f350be743a9eac0 (patch) | |
| tree | 9a4b9d4f428003b2263c6c618a31ffc786dee424 /addons/web_analytics/static/src/js/web_analytics.js | |
| parent | 34b330c5fa409aa342be5896d7d84101fced58a7 (diff) | |
[FIX] contracts: use correct quantity field to avoid mismatching values
`quantity` is a recursive sum of quantities of all types, including child accounts,
while `hours_quantity` is the local sum of quantities in `general` analytic journals.
The latter is what corresponds to the `Units consumed` value for contracts, and what
is used to compute the `remaining_hours`, so we must used that.
bzr revid: odo@openerp.com-20130110171100-el2g1i3ou89p2yjc
Diffstat (limited to 'addons/web_analytics/static/src/js/web_analytics.js')
0 files changed, 0 insertions, 0 deletions
