Bugfix in payment terms
bzr revid: fp@tinyerp.com-e27a8badfb1e2daf3a4d4af7f9b42cdbd988dd49
This commit is contained in:
parent
4961d5b91c
commit
daec3af3f4
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue