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 @@
+