diff --git a/dev_odex30_accounting/account_chart_of_accounts/models/account_journal.py b/dev_odex30_accounting/account_chart_of_accounts/models/account_journal.py index ffc99bc..954499f 100644 --- a/dev_odex30_accounting/account_chart_of_accounts/models/account_journal.py +++ b/dev_odex30_accounting/account_chart_of_accounts/models/account_journal.py @@ -6,7 +6,7 @@ class AccountJournal(models.Model): _inherit = "account.journal" @api.model - def _fill_missing_values(self, vals): + def _fill_missing_values(self, vals, protected_codes=False): journal_type = vals.get('type') if not journal_type: return