From 2fc183c23b661f8d43abf769eb2f895a9ba9c0a2 Mon Sep 17 00:00:00 2001 From: mohammed-alkhazrji Date: Tue, 6 Jan 2026 15:39:49 +0300 Subject: [PATCH] fix --- .../account_chart_of_accounts/models/account_journal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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