Bugfix in payment terms

bzr revid: fp@tinyerp.com-e27a8badfb1e2daf3a4d4af7f9b42cdbd988dd49
This commit is contained in:
Fabien Pinckaers 2008-02-05 21:18:50 +00:00
parent 4961d5b91c
commit daec3af3f4
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class account_payment_term(osv.osv):
if line.value=='fixed':
amt = round(line.value_amount, 2)
elif line.value=='procent':
amt = round(amount * line.value_amount, 2)
amt = round(value * line.value_amount, 2)
elif line.value=='balance':
amt = round(amount, 2)
if amt: