Skip to content

Commit

Permalink
Merge PR #2229 into 11.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Apr 28, 2022
2 parents 997bb5f + 527e3e8 commit 654f2c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions l10n_es_ticketbai/models/account_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,8 @@ def validate_refund_invoices():
self.sudo().filtered(
lambda x:
x.tbai_enabled and 'out_refund' == x.type and
not x.tbai_refund_type or
x.tbai_refund_type == RefundType.differences.value and
(not x.tbai_refund_type or
x.tbai_refund_type == RefundType.differences.value) and
x.date and x.date >= x.journal_id.tbai_active_date)

validate_refund_invoices()
Expand Down

0 comments on commit 654f2c2

Please sign in to comment.