diff options
| author | pso <pso@tinyerp.com> | 2010-10-06 11:52:53 +0530 |
|---|---|---|
| committer | pso <pso@tinyerp.com> | 2010-10-06 11:52:53 +0530 |
| commit | 02959abf4c953ca1925f804a1f23920d8b3ad970 (patch) | |
| tree | 8c080aef9ed599d69eaa55022c5757366dd8b0e5 /addons/analytic_user_function | |
| parent | ad6f375fbeb7364663e9bf6c7d1b8cd473a8ef1e (diff) | |
| parent | 5a434b5935261b9e8dfea945eb05b7f6b0146f6a (diff) | |
[MERGE]
bzr revid: pso@tinyerp.com-20101006062253-geu0k0llv46m3bzj
Diffstat (limited to 'addons/analytic_user_function')
| -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) |
