Skip to content

Commit

Permalink
[FIX] l10n_es_ticketbai: Se envian las facturas rectificativas de pro…
Browse files Browse the repository at this point in the history
…veedor como facturas emitidas Ticketbai
  • Loading branch information
Bilbonet committed Apr 2, 2024
1 parent 2ea6d85 commit 595f55d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions l10n_es_ticketbai/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,10 @@ def validate_refund_invoices():
refund_invoices = self.sudo().filtered(
lambda x: x.tbai_enabled
and "out_refund" == x.move_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.tbai_send_invoice
)

Expand Down

0 comments on commit 595f55d

Please sign in to comment.