Skip to content

Commit

Permalink
[OPENUPGRADE]
Browse files Browse the repository at this point in the history
- odoo.exceptions.CacheMiss: ('account.move(59820,).journal_id', None)
  • Loading branch information
zamberjo authored and docker-odoo committed Jan 13, 2024
1 parent dbe9cfb commit 271fb00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions l10n_es_aeat/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 271fb00

Please sign in to comment.