Skip to content

Commit

Permalink
Merge PR OCA#3370 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Jan 11, 2024
2 parents fb09068 + 6cc2c87 commit dd39a85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions l10n_es_aeat_sii_oca/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,8 @@ def _get_sii_invoice_type(self):

def _get_sii_invoice_dict_out(self, cancel=False):
inv_dict = super()._get_sii_invoice_dict_out(cancel=cancel)
if cancel:
return inv_dict
if self.thirdparty_invoice:
inv_dict["FacturaExpedida"]["EmitidaPorTercerosODestinatario"] = "S"
if self.sii_registration_key_additional1:
Expand Down

0 comments on commit dd39a85

Please sign in to comment.