Skip to content

Commit

Permalink
Merge PR #3878 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Jan 8, 2025
2 parents aaab270 + e8d49f3 commit 17bd457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l10n_es_aeat_sii_oca/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ def cancel_sii(self):
else:
eta = company._get_sii_eta()
new_delay = (
self.sudo()
invoice.sudo()
.with_context(company_id=company.id)
.with_delay(eta=eta)
.cancel_one_invoice()
Expand Down

0 comments on commit 17bd457

Please sign in to comment.