summaryrefslogtreecommitdiff
path: root/addons/web_analytics/static/src/js/web_analytics.js
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2013-01-10 18:11:00 +0100
committerOlivier Dony <odo@openerp.com>2013-01-10 18:11:00 +0100
commit943453798652f3749f1b40fb9f350be743a9eac0 (patch)
tree9a4b9d4f428003b2263c6c618a31ffc786dee424 /addons/web_analytics/static/src/js/web_analytics.js
parent34b330c5fa409aa342be5896d7d84101fced58a7 (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