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 Oct 6, 2023
1 parent 80580f3 commit a6f3ab4
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 a6f3ab4

Please sign in to comment.