fix
This commit is contained in:
parent
3a5392bc89
commit
2fc183c23b
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue