mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[FIX] Invoice payment widget 'view' button
This commit is contained in:
@@ -114,6 +114,7 @@ class AccountClearancePlan(models.TransientModel):
|
||||
"move_id": move.id,
|
||||
"debit": abs(line.amount_residual) if line.credit > 0 else 0,
|
||||
"credit": abs(line.amount_residual) if line.debit > 0 else 0,
|
||||
"invoice_id": False,
|
||||
}
|
||||
)
|
||||
new_line.write({"name": (_("Clearance Plan: ") + new_line.name)})
|
||||
|
||||
Reference in New Issue
Block a user