From 17cb96d9dd4d25e63d6d7988638b91a831a98121 Mon Sep 17 00:00:00 2001 From: Ivan Office Date: Fri, 13 Dec 2024 01:25:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B4=A2=E5=8A=A1=E7=9B=B8?= =?UTF-8?q?=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app_account_ztree/__manifest__.py | 11 ----------- app_account_ztree/models/account_account.py | 2 +- app_account_ztree/static/description/index.html | 10 +++++----- l10n_cn_standard_latest/static/description/index.html | 4 ++-- 4 files changed, 8 insertions(+), 19 deletions(-) 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