diff --git a/l10n_es_aeat/models/account_move.py b/l10n_es_aeat/models/account_move.py index 28f2deb9977..bbecfc0b330 100644 --- a/l10n_es_aeat/models/account_move.py +++ b/l10n_es_aeat/models/account_move.py @@ -26,4 +26,5 @@ class AccountMove(models.Model): @api.depends("journal_id") def _compute_thirdparty_invoice(self): for item in self: + item.read(["journal_id"]) item.thirdparty_invoice = item.journal_id.thirdparty_invoice