fix_acc
watcha.h 2015-08-26 16:20:16 +07:00
parent 2e99a673eb
commit 17b58758b3
1 changed files with 4 additions and 4 deletions

View File

@ -301,10 +301,10 @@ class PaymentMatching(Model):
pc=0 pc=0
if total_invoice: if total_invoice:
pc=(total_match_invoice/total_invoice)*100 pc=(total_match_invoice/total_invoice)*100
if inv_match_ids and obj: #if inv_match_ids and obj:
obj.write({ #obj.write({
'inv_ids': str(inv_match_ids), #'inv_ids': str(inv_match_ids),
}) #})
data={ data={
'lines': lines, 'lines': lines,
'date_from': date_from, 'date_from': date_from,