Skip to content

Commit

Permalink
[FIX] l10n_it_vat_registries fix issue OCA#4612 put entry_order requi…
Browse files Browse the repository at this point in the history
…red to avoid crash
  • Loading branch information
matteoopenf committed Feb 10, 2025
1 parent 335fd9f commit b8b55c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions l10n_it_vat_registries/wizard/print_registro_iva.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class WizardRegistroIva(models.TransientModel):
("journal_date_name", "Journal - Date - Number"),
],
default="date_name",
required=True,
)
journal_ids = fields.Many2many(
"account.journal",
Expand Down Expand Up @@ -76,6 +77,7 @@ def _get_move_ids(self, wizard):
"journal_date_name": "journal_id, date, name",
"date_name": "date, name",
}
import pdb;pdb.set_trace()
order = MAPPING[wizard.entry_order]
moves = self.env["account.move"].search(
self._get_move_ids_domain(),
Expand Down

0 comments on commit b8b55c9

Please sign in to comment.