diff options
| author | apa-tiny <apa@tinyerp.com> | 2010-10-06 10:24:50 +0530 |
|---|---|---|
| committer | apa-tiny <apa@tinyerp.com> | 2010-10-06 10:24:50 +0530 |
| commit | 5b43bb8de7ac24d2c63e6eac07ba9d5633f0a6ea (patch) | |
| tree | 84a61378137f2410609e2b6cc6c9da17ba0f25f8 /addons/analytic_user_function/analytic_user_function.py | |
| parent | 073af37be1ee3467931d050fe00ab5c2f93ac2d9 (diff) | |
| parent | 2188c51dece473ac52d834e57e45e07f364bca40 (diff) | |
merged from lp:~openerp-dev/openobject-addons/report_dev
bzr revid: apa@tinyerp.com-20101006045450-411znuyw7xhijdze
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
| -rw-r--r-- | addons/analytic_user_function/analytic_user_function.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/analytic_user_function/analytic_user_function.py b/addons/analytic_user_function/analytic_user_function.py index 0bb9afc3386..21fe0a7da29 100644 --- a/addons/analytic_user_function/analytic_user_function.py +++ b/addons/analytic_user_function/analytic_user_function.py @@ -99,7 +99,7 @@ class hr_analytic_timesheet(osv.osv): (r.product_id.name, r.product_id.id,)) # Compute based on pricetype amount_unit = self.on_change_unit_amount(cr, uid, ids, - r.product_id.id, unit_amount, r.product_id.uom_id.id)['value']['amount'] + r.product_id.id, unit_amount, False, r.product_id.uom_id.id)['value']['amount'] amount = unit_amount * amount_unit res ['value']['amount']= - round(amount, 2) @@ -134,7 +134,7 @@ class hr_analytic_timesheet(osv.osv): (r.product_id.name, r.product_id.id,)) # Compute based on pricetype amount_unit = self.on_change_unit_amount(cr, uid, ids, - r.product_id.id, unit_amount, r.product_id.uom_id.id)['value']['amount'] + r.product_id.id, unit_amount, False, r.product_id.uom_id.id)['value']['amount'] amount = unit_amount * amount_unit res ['value']['amount']= - round(amount, 2) |
