Merge pull request #77 from expsa/fix_jurnal

fix
This commit is contained in:
mohammed-alkhazrji 2026-01-06 15:40:30 +03:00 committed by GitHub
commit d81dbbc4b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ class AccountJournal(models.Model):
_inherit = "account.journal" _inherit = "account.journal"
@api.model @api.model
def _fill_missing_values(self, vals): def _fill_missing_values(self, vals, protected_codes=False):
journal_type = vals.get('type') journal_type = vals.get('type')
if not journal_type: if not journal_type:
return return