#IBJUBZ [18] l10n_cn_standard_latest: fix bugs

This commit is contained in:
Chill
2025-02-18 16:14:20 +08:00
parent ff1b5c5134
commit b8317e37d9
3 changed files with 3 additions and 3 deletions

View File

@@ -15,6 +15,6 @@ class AccountJournal(models.Model):
if hasattr(company, 'coa_delimiter'):
delimiter = company.coa_delimiter
code = code + delimiter + '01'
new_code = self.env['account.account']._search_new_account_code(code),
new_code = self.env['account.account']._search_new_account_code(code)
res.update({'code': new_code})
return res