From b8317e37d9b1882ad614003964a2cfe1e26c8b77 Mon Sep 17 00:00:00 2001 From: Chill Date: Tue, 18 Feb 2025 16:14:20 +0800 Subject: [PATCH 1/2] #IBJUBZ [18] l10n_cn_standard_latest: fix bugs --- l10n_cn_standard_latest/__manifest__.py | 2 +- l10n_cn_standard_latest/models/account_journal.py | 2 +- l10n_cn_standard_latest/static/description/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/l10n_cn_standard_latest/__manifest__.py b/l10n_cn_standard_latest/__manifest__.py index 557d3898..06faa508 100644 --- a/l10n_cn_standard_latest/__manifest__.py +++ b/l10n_cn_standard_latest/__manifest__.py @@ -9,7 +9,7 @@ { 'name': '2025最新中国会计科目表.企业标准会计.Latest Chinese Accounting for odoo18', - 'version': '18.0.25.01.15', + 'version': '18.0.25.02.18', 'author': 'odooai.cn', 'category': 'Accounting/Localizations/Account Charts', 'website': 'https://www.odooai.cn', diff --git a/l10n_cn_standard_latest/models/account_journal.py b/l10n_cn_standard_latest/models/account_journal.py index b7596cf8..b2bed399 100644 --- a/l10n_cn_standard_latest/models/account_journal.py +++ b/l10n_cn_standard_latest/models/account_journal.py @@ -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 diff --git a/l10n_cn_standard_latest/static/description/index.html b/l10n_cn_standard_latest/static/description/index.html index 4ddc6d37..0ea8d381 100644 --- a/l10n_cn_standard_latest/static/description/index.html +++ b/l10n_cn_standard_latest/static/description/index.html @@ -17,7 +17,7 @@
-

Lastest update: v18.25.01.15

+

Lastest update: v18.25.02.18

From 45755625c75769f05f8e783700c875306e877cc0 Mon Sep 17 00:00:00 2001 From: Chill Date: Thu, 20 Feb 2025 14:30:55 +0800 Subject: [PATCH 2/2] [18] upd app_base_chinese --- app_base_chinese/__manifest__.py | 2 +- app_base_chinese/models/res_partner.py | 2 +- app_base_chinese/static/description/index.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app_base_chinese/__manifest__.py b/app_base_chinese/__manifest__.py index ddf57ce9..d163a8e2 100644 --- a/app_base_chinese/__manifest__.py +++ b/app_base_chinese/__manifest__.py @@ -18,7 +18,7 @@ { 'name': 'odoo中国版,中文本土化套件,中国会计基础,Odoo Chinese localization Enhance All in One', - 'version': '18.0.25.01.26', + 'version': '18.0.25.02.20', 'author': 'odooai.cn', 'category': 'Base', 'website': 'https://www.odooai.cn', diff --git a/app_base_chinese/models/res_partner.py b/app_base_chinese/models/res_partner.py index 47fa0a46..6d5427bc 100644 --- a/app_base_chinese/models/res_partner.py +++ b/app_base_chinese/models/res_partner.py @@ -7,7 +7,7 @@ from odoo.exceptions import UserError, ValidationError class ResPartner(models.Model): _inherit = 'res.partner' - name = fields.Char(translate=False) + # name = fields.Char(translate=False) short_name = fields.Char('Short Name') # 简称 fax = fields.Char('Fax') # 简称 diff --git a/app_base_chinese/static/description/index.html b/app_base_chinese/static/description/index.html index 1fdb17a7..f427a954 100644 --- a/app_base_chinese/static/description/index.html +++ b/app_base_chinese/static/description/index.html @@ -17,7 +17,7 @@
-

Latest update: v18.0.25.01.17

+

Latest update: v18.0.25.02.20

Key features: @@ -188,4 +188,4 @@
- \ No newline at end of file +