Bugfix in date maturity computation
bzr revid: fp@tinyerp.com-d2a44d87200bb141f83e65d49542cf670980b957
This commit is contained in:
parent
8591f213d3
commit
0c9e2da1a5
|
@ -443,7 +443,7 @@ class account_invoice(osv.osv):
|
|||
totlines = False
|
||||
if inv.payment_term:
|
||||
totlines = self.pool.get('account.payment.term').compute(cr,
|
||||
uid, inv.payment_term.id, total)
|
||||
uid, inv.payment_term.id, total, inv.date_invoice or False)
|
||||
if totlines:
|
||||
res_amount_currency = total_currency
|
||||
i = 0
|
||||
|
|
Loading…
Reference in New Issue