diff --git a/app_account_ztree/__manifest__.py b/app_account_ztree/__manifest__.py index 0eec0442..c3c2156c 100644 --- a/app_account_ztree/__manifest__.py +++ b/app_account_ztree/__manifest__.py @@ -44,17 +44,6 @@ 'views/account_account_views.xml', 'views/res_company_views.xml', ], - 'demo': [ - ], - 'test': [ - ], - 'css': [ - ], - 'qweb': [ - 'static/src/xml/*.xml', - ], - 'js': [ - ], 'post_load': None, 'post_init_hook': 'post_init_hook', 'installable': True, diff --git a/app_account_ztree/models/account_account.py b/app_account_ztree/models/account_account.py index 874ff4a3..9a3d523a 100644 --- a/app_account_ztree/models/account_account.py +++ b/app_account_ztree/models/account_account.py @@ -36,7 +36,7 @@ class AccountAccount(models.Model): done = 0 # 分隔符 delimiter,用友为"",金蝶为 ".",注意odoo中一级科目,现金默认定义是4位头,银行是6位头 # 我们使用 用友的多级科目方式,自动生成下级,此处直接覆盖原生 - delimiter = company.chart_template_id.delimiter or '' + delimiter = company.coa_delimiter or '' for rec in self: if len(rec.code) > 2: p_code = rec.code[:len(rec.code) - 2] diff --git a/app_account_ztree/static/description/index.html b/app_account_ztree/static/description/index.html index 02a43fd6..a1a368bf 100644 --- a/app_account_ztree/static/description/index.html +++ b/app_account_ztree/static/description/index.html @@ -36,7 +36,7 @@
- + Extend features. superbar advance search navigator @@ -52,19 +52,19 @@
diff --git a/l10n_cn_standard_latest/static/description/index.html b/l10n_cn_standard_latest/static/description/index.html index d2bcfd5b..4a6347a6 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.24.11.04

+

Lastest update: v18.24.12.13

@@ -58,7 +58,7 @@
- +

How to use