Skip to content

Commit

Permalink
fix: validation rise
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisOForgeFlow committed Apr 12, 2023
1 parent aca9534 commit bb67cd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions account_payment_line/models/counterpart_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,6 @@ def constrains_amount_residual(self):
raise ValidationError(
_(
"the amount exceeds the residual amount, please check the invoice %s"
),
(rec.aml_id.move_id.name or rec.aml_id.name),
)
% (rec.aml_id.move_id.name or rec.aml_id.name),
)

0 comments on commit bb67cd9

Please sign in to comment.