[FIX] account_financial_report: fixing bug when calculation of credit is dublicated
This commit is contained in:
committed by
chaule97
parent
8d977ef463
commit
d0c267eaa4
@@ -100,7 +100,6 @@ class AgedPartnerBalanceReport(models.AbstractModel):
|
||||
else:
|
||||
move_line["amount_residual_currency"] = debit_amount_currency[ml_id]
|
||||
if ml_id in credit_ids:
|
||||
move_line["amount_residual"] -= credit_amount[ml_id]
|
||||
if move_line.get("amount_residual", False):
|
||||
move_line["amount_residual"] -= credit_amount[ml_id]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user