mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
base init v17, 很多只改了版号,没验证
This commit is contained in:
14
l10n_cn_standard_latest/__init__.py
Normal file
14
l10n_cn_standard_latest/__init__.py
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Copyright (C) 2008-2008 凯源吕鑫 lvxin@gmail.com <basic chart data>
|
||||||
|
# 维智众源 oldrev@gmail.com <states data>
|
||||||
|
# Copyright (C) 2012-2012 南京盈通 ccdos@intoerp.com <small business chart>
|
||||||
|
# Copyright (C) 2008-now 开阖软件 jeff@osbzr.com < PM and LTS >
|
||||||
|
# Copyright (C) 2017-now jeffery9@gmail.com
|
||||||
|
# Copyright (C) 2018-11 欧度智能 https://www.odooai.cn
|
||||||
|
|
||||||
|
from .hooks import pre_init_hook
|
||||||
|
from .hooks import post_init_hook
|
||||||
|
from . import models
|
||||||
|
|
||||||
|
|
||||||
69
l10n_cn_standard_latest/__manifest__.py
Normal file
69
l10n_cn_standard_latest/__manifest__.py
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Copyright (C) 2008-2008 凯源吕鑫 lvxin@gmail.com <basic chart data>
|
||||||
|
# 维智众源 oldrev@gmail.com <states data>
|
||||||
|
# Copyright (C) 2012-2012 南京盈通 ccdos@intoerp.com <small business chart>
|
||||||
|
# Copyright (C) 2008-now 开阖软件 jeff@osbzr.com < PM and LTS >
|
||||||
|
# Copyright (C) 2017-now jeffery9@gmail.com
|
||||||
|
# Copyright (C) 2018-11 欧度智能 https://www.odooai.cn
|
||||||
|
|
||||||
|
{
|
||||||
|
'name': '2024最新中国会计科目表.企业标准会计.Latest Chinese Accounting for odoo16',
|
||||||
|
'version': '17.23.09.18',
|
||||||
|
'author': 'odooai.cn',
|
||||||
|
'category': 'Accounting/Localizations/Account Charts',
|
||||||
|
'website': 'https://www.odooai.cn',
|
||||||
|
'live_test_url': 'https://demo.odooapp.cn',
|
||||||
|
'license': 'LGPL-3',
|
||||||
|
'sequence': 12,
|
||||||
|
'summary': """
|
||||||
|
Multi level account chart. Chinese enhance. Focus on account chart.
|
||||||
|
Add account chart group data. Account group, Chinese tax.
|
||||||
|
Set chinese account report.
|
||||||
|
""",
|
||||||
|
'description': """
|
||||||
|
|
||||||
|
最新中国化财务,主要针对标准会计科目表作了优化。
|
||||||
|
1. 2024最新会计科目表,处理营改增后会计科目调整。更新至最新税率。odoo 17专用。
|
||||||
|
2. 将菜单中设置为"财务"。
|
||||||
|
3. 补充分类及标签信息。
|
||||||
|
4. 更新税信息。
|
||||||
|
5. 增加树状结构,支持二级科目,可设置上级科目,配合 "app_web_superbar" 使用可轻易实现树状导航。
|
||||||
|
6. 使用金蝶的会计科目命名法对多级科目进行初始化。可自行调整为用友科目命名法
|
||||||
|
7. 注意,必须在没有业务数据,没有会计科目的初始环境。可以使用 "app_odoo_customize" 模块清除财务数据,重置会计科目。
|
||||||
|
|
||||||
|
如果是多语种环境需要自行更改翻译,主要体现在3%,6%,13%增值税处理。
|
||||||
|
中国财务,中国会计,中国城市
|
||||||
|
欧度智能,odooai.cn
|
||||||
|
The Latest Chinese Account
|
||||||
|
Including the following data in the Accounting Standards for Business Enterprises
|
||||||
|
包含企业会计准则以下数据
|
||||||
|
|
||||||
|
* Chart of Accounts
|
||||||
|
* 科目表模板
|
||||||
|
* Account templates
|
||||||
|
* 科目模板
|
||||||
|
* Tax templates
|
||||||
|
* 税金模板
|
||||||
|
""",
|
||||||
|
'depends': [
|
||||||
|
'account',
|
||||||
|
'app_odoo_customize',
|
||||||
|
],
|
||||||
|
'images': ['static/description/banner.png'],
|
||||||
|
'data': [
|
||||||
|
'views/account_account_views.xml',
|
||||||
|
'views/account_views.xml',
|
||||||
|
'data/chart_data.xml',
|
||||||
|
'data/account_account_tag_data.xml',
|
||||||
|
'data/account.group.csv',
|
||||||
|
'data/account.account.template.csv',
|
||||||
|
'data/account_tax_group_data.xml',
|
||||||
|
'data/account_tax_template_data.xml',
|
||||||
|
'data/account_chart_template_data.xml',
|
||||||
|
],
|
||||||
|
'post_init_hook': 'post_init_hook',
|
||||||
|
'installable': True,
|
||||||
|
'application': True,
|
||||||
|
'auto_install': False,
|
||||||
|
}
|
||||||
182
l10n_cn_standard_latest/data/account.account.template.csv
Normal file
182
l10n_cn_standard_latest/data/account.account.template.csv
Normal file
@@ -0,0 +1,182 @@
|
|||||||
|
id,code,name,parent_id/id,reconcile,account_type,tag_ids/id,chart_template_id/id
|
||||||
|
account_1001,1001,库存现金,,TRUE,asset_cash,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1002,1002,银行存款,,TRUE,asset_cash,tag21,l10n_chart_china_standard_business_latest
|
||||||
|
account_1003,1003,存放中央银行款项,,TRUE,asset_current,tag21,l10n_chart_china_standard_business_latest
|
||||||
|
account_1011,1011,存放同业,,FALSE,asset_current,tag21,l10n_chart_china_standard_business_latest
|
||||||
|
account_1012,1012,其他货币资金,,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1021,1021,结算备付金,,FALSE,asset_current,tag22,l10n_chart_china_standard_business_latest
|
||||||
|
account_1031,1031,存出保证金,,FALSE,asset_current,tag23,l10n_chart_china_standard_business_latest
|
||||||
|
account_1101,1101,交易性金融资产,,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1111,1111,买入返售金融资产,,FALSE,asset_current,tag23,l10n_chart_china_standard_business_latest
|
||||||
|
account_1121,1121,应收票据,,TRUE,asset_receivable,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1122,1122,应收账款,,TRUE,asset_receivable,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1123,1123,预付账款,,TRUE,asset_receivable,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1124,1124,应收账款(PoS),,TRUE,asset_receivable,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1131,1131,应收股利,,TRUE,asset_receivable,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1132,1132,应收利息,,TRUE,asset_receivable,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1201,1201,应收代位追偿款,,FALSE,asset_current,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_1211,1211,应收分保账款,,FALSE,asset_current,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_1212,1212,应收分保合同准备金,,FALSE,asset_current,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_1221,1221,其他应收款,,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1231,1231,坏账准备,,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1301,1301,贴现资产,,FALSE,asset_current,tag21,l10n_chart_china_standard_business_latest
|
||||||
|
account_1302,1302,拆出资金,,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1303,1303,贷款,,FALSE,asset_current,tag25,l10n_chart_china_standard_business_latest
|
||||||
|
account_1304,1304,贷款损失准备,,FALSE,asset_current,tag25,l10n_chart_china_standard_business_latest
|
||||||
|
account_1311,1311,代理兑付证券,,FALSE,asset_current,tag29,l10n_chart_china_standard_business_latest
|
||||||
|
account_1321,1321,代理业务资产,,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1401,1401,材料采购,,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1402,1402,在途物资,,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1403,1403,原材料,,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1404,1404,材料成本差异,,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1405,1405,库存商品,,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1405_01,1405.01,其中:数据资源,account_1405,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1406,1406,发出商品,,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1407,1407,商品进销差价,,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1408,1408,委托加工物资,,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1411,1411,周转材料,,FALSE,asset_non_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1421,1421,消耗性生物资产,,FALSE,asset_non_current,tag26,l10n_chart_china_standard_business_latest
|
||||||
|
account_1431,1431,贵金属,,FALSE,asset_non_current,tag21,l10n_chart_china_standard_business_latest
|
||||||
|
account_1441,1441,抵债资产,,FALSE,asset_non_current,tag23,l10n_chart_china_standard_business_latest
|
||||||
|
account_1451,1451,损余物资,,FALSE,asset_non_current,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_1461,1461,融资租赁资产,,FALSE,asset_non_current,tag27,l10n_chart_china_standard_business_latest
|
||||||
|
account_1471,1471,存货跌价准备,,FALSE,asset_non_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1501,1501,持有至到期投资,,FALSE,asset_non_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1502,1502,持有至到期投资减值准备,,FALSE,asset_non_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1503,1503,可供出售金融资产,,FALSE,asset_non_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1511,1511,长期股权投资,,FALSE,asset_non_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1512,1512,长期股权投资减值准备,,FALSE,asset_non_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1521,1521,投资性房地产,,FALSE,asset_non_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1531,1531,长期应收款,,FALSE,asset_non_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1532,1532,未实现融资收益,,FALSE,asset_non_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1541,1541,存出资本保证金,,FALSE,asset_non_current,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_1601,1601,固定资产,,FALSE,asset_fixed,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1602,1602,累计折旧,,FALSE,asset_fixed,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1603,1603,固定资产减值准备,,FALSE,asset_fixed,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1604,1604,在建工程,,FALSE,asset_fixed,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1605,1605,工程物资,,FALSE,asset_fixed,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1606,1606,固定资产清理,,FALSE,asset_fixed,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1611,1611,未担保余值,,FALSE,asset_current,tag27,l10n_chart_china_standard_business_latest
|
||||||
|
account_1621,1621,生产性生物资产,,FALSE,asset_current,tag26,l10n_chart_china_standard_business_latest
|
||||||
|
account_1622,1622,生产性生物资产累计折旧,,FALSE,asset_current,tag26,l10n_chart_china_standard_business_latest
|
||||||
|
account_1623,1623,公益性生物资产,,FALSE,asset_current,tag26,l10n_chart_china_standard_business_latest
|
||||||
|
account_1631,1631,油气资产,,FALSE,asset_current,tag28,l10n_chart_china_standard_business_latest
|
||||||
|
account_1632,1632,累计折耗,,FALSE,asset_current,tag28,l10n_chart_china_standard_business_latest
|
||||||
|
account_1701,1701,无形资产,,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1701_01,1701.01,其中:数据资源,account_1701,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1702,1702,累计摊销,,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1703,1703,无形资产减值准备,,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1711,1711,商誉,,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1801,1801,长期待摊费用,,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1811,1811,递延所得税资产,,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1821,1821,独立账户资产,,FALSE,asset_current,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_1901,1901,待处理财产损溢,,FALSE,asset_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2001,2001,短期借款,,FALSE,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2002,2002,存入保证金,,FALSE,liability_current,tag23,l10n_chart_china_standard_business_latest
|
||||||
|
account_2003,2003,拆入资金,,FALSE,liability_current,tag23,l10n_chart_china_standard_business_latest
|
||||||
|
account_2004,2004,向中央银行借款,,FALSE,liability_current,tag21,l10n_chart_china_standard_business_latest
|
||||||
|
account_2011,2011,吸收存款,,FALSE,liability_current,tag21,l10n_chart_china_standard_business_latest
|
||||||
|
account_2012,2012,同业存放,,FALSE,liability_current,tag21,l10n_chart_china_standard_business_latest
|
||||||
|
account_2021,2021,贴现负债,,FALSE,liability_current,tag21,l10n_chart_china_standard_business_latest
|
||||||
|
account_2101,2101,交易性金融负债,,FALSE,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2111,2111,卖出回购金融资产款,,FALSE,liability_current,tag23,l10n_chart_china_standard_business_latest
|
||||||
|
account_2201,2201,应付票据,,TRUE,liability_payable,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2202,2202,应付账款,,TRUE,liability_payable,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2203,2203,预收账款,,TRUE,liability_payable,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2211,2211,应付职工薪酬,,FALSE,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221,2221,应交税费,,FALSE,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_1,2221.01,应交增值税,account_2221,,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_1_1,2221.01.01,进项税额,account_2221_1,,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_1_2,2221.01.02,已交税金,account_2221_1,,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_1_3,2221.01.03,转出未交增值税,account_2221_1,,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_1_4,2221.01.04,减免税款,account_2221_1,,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_1_5,2221.01.05,销项税额,account_2221_1,,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_1_6,2221.01.06,出口退税,account_2221_1,,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_1_7,2221.01.07,进项税额转出,account_2221_1,,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_1_8,2221.01.08,出口抵减内销产品应纳税额,account_2221_1,,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_1_9,2221.01.09,转出多交增值税,account_2221_1,,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_2,2221.02,未交增值税,account_2221,,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_3,2221.03,应交营业税,account_2221,,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_4,2221.04,应交消费税,account_2221,,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_5,2221.05,应交资源税,account_2221,,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_6,2221.06,应交所得税,account_2221,,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_7,2221.07,应交土地增值税,account_2221,,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_8,2221.08,应交城市维护建设税,account_2221,,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_9,2221.09,应交房产税,account_2221,,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_10,2221.10,应交土地使用税,account_2221,,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_11,2221.11,应交车船使用税,account_2221,,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_12,2221.12,应交个人所得税,account_2221,,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2231,2231,应付利息,,FALSE,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2232,2232,应付股利,,FALSE,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2241,2241,其他应付款,,FALSE,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2251,2251,应付保单红利,,FALSE,liability_current,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_2261,2261,应付分保账款,,FALSE,liability_current,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_2311,2311,代理买卖证券款,,FALSE,liability_current,tag22,l10n_chart_china_standard_business_latest
|
||||||
|
account_2312,2312,代理承销证券款,,FALSE,liability_current,tag29,l10n_chart_china_standard_business_latest
|
||||||
|
account_2313,2313,代理兑付证券款,,FALSE,liability_current,tag29,l10n_chart_china_standard_business_latest
|
||||||
|
account_2314,2314,代理业务负债,,FALSE,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2401,2401,递延收益,,FALSE,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2501,2501,长期借款,,FALSE,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2502,2502,应付债券,,FALSE,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2601,2601,未到期责任准备金,,FALSE,liability_current,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_2602,2602,保险责任准备金,,FALSE,liability_current,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_2611,2611,保户储金,,FALSE,liability_current,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_2621,2621,独立账户负债,,FALSE,liability_current,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_2701,2701,长期应付款,,FALSE,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2702,2702,未确认融资费用,,FALSE,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2711,2711,专项应付款,,FALSE,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2801,2801,预计负债,,FALSE,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2901,2901,递延所得税负债,,FALSE,liability_current,,l10n_chart_china_standard_business_latest
|
||||||
|
account_3001,3001,清算资金往来,,FALSE,off_balance,tag21,l10n_chart_china_standard_business_latest
|
||||||
|
account_3002,3002,货币兑换,,FALSE,off_balance,tag23,l10n_chart_china_standard_business_latest
|
||||||
|
account_3101,3101,衍生工具,,FALSE,off_balance,,l10n_chart_china_standard_business_latest
|
||||||
|
account_3201,3201,套期工具,,FALSE,off_balance,,l10n_chart_china_standard_business_latest
|
||||||
|
account_3202,3202,被套期项目,,FALSE,off_balance,,l10n_chart_china_standard_business_latest
|
||||||
|
account_4001,4001,实收资本,,FALSE,equity,,l10n_chart_china_standard_business_latest
|
||||||
|
account_4002,4002,资本公积,,FALSE,equity,,l10n_chart_china_standard_business_latest
|
||||||
|
account_4101,4101,盈余公积,,FALSE,equity,,l10n_chart_china_standard_business_latest
|
||||||
|
account_4102,4102,一般风险准备,,FALSE,equity,tag23,l10n_chart_china_standard_business_latest
|
||||||
|
account_4103,4103,本年利润,,FALSE,equity,,l10n_chart_china_standard_business_latest
|
||||||
|
account_4104,4104,利润分配,,FALSE,equity,,l10n_chart_china_standard_business_latest
|
||||||
|
account_4201,4201,库存股,,FALSE,equity,,l10n_chart_china_standard_business_latest
|
||||||
|
account_5001,5001,生产成本,,FALSE,expense_direct_cost,,l10n_chart_china_standard_business_latest
|
||||||
|
account_5101,5101,制造费用,,FALSE,expense_direct_cost,,l10n_chart_china_standard_business_latest
|
||||||
|
account_5201,5201,劳务成本,,FALSE,expense_direct_cost,,l10n_chart_china_standard_business_latest
|
||||||
|
account_5301,5301,研发支出,,FALSE,expense_direct_cost,,l10n_chart_china_standard_business_latest
|
||||||
|
account_5301_01,5301.01,其中:数据资源,account_5301,FALSE,expense_direct_cost,,l10n_chart_china_standard_business_latest
|
||||||
|
account_5401,5401,工程施工,,FALSE,expense_direct_cost,tag30,l10n_chart_china_standard_business_latest
|
||||||
|
account_5402,5402,工程结算,,FALSE,expense_direct_cost,tag30,l10n_chart_china_standard_business_latest
|
||||||
|
account_5403,5403,机械作业,,FALSE,expense_direct_cost,tag30,l10n_chart_china_standard_business_latest
|
||||||
|
account_6001,6001,主营业务收入,,FALSE,income,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6011,6011,利息收入,,FALSE,income,tag23,l10n_chart_china_standard_business_latest
|
||||||
|
account_6021,6021,手续费及佣金收入,,FALSE,income,tag23,l10n_chart_china_standard_business_latest
|
||||||
|
account_6031,6031,保费收入,,FALSE,income,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_6041,6041,租赁收入,,FALSE,income,tag27,l10n_chart_china_standard_business_latest
|
||||||
|
account_6051,6051,其他业务收入,,FALSE,income,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6061,6061,汇兑损益,,FALSE,income,tag23,l10n_chart_china_standard_business_latest
|
||||||
|
account_6101,6101,公允价值变动损益,,FALSE,income,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6111,6111,投资收益,,FALSE,income,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6201,6201,摊回保险责任准备金,,FALSE,expense,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_6202,6202,摊回赔付支出,,FALSE,expense,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_6203,6203,摊回分保费用,,FALSE,expense,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_6301,6301,营业外收入,,FALSE,expense,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6401,6401,主营业务成本,,FALSE,expense,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6402,6402,其他业务成本,,FALSE,expense,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6403,6403,税金及附加,,FALSE,expense,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6411,6411,利息支出,,FALSE,expense,tag23,l10n_chart_china_standard_business_latest
|
||||||
|
account_6421,6421,手续费及佣金支出,,FALSE,expense,tag23,l10n_chart_china_standard_business_latest
|
||||||
|
account_6501,6501,提取未到期责任准备金,,FALSE,expense,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_6502,6502,提取保险责任准备金,,FALSE,expense,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_6511,6511,赔付支出,,FALSE,expense,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_6521,6521,保户红利支出,,FALSE,expense,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_6531,6531,退保金,,FALSE,expense,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_6541,6541,分出保费,,FALSE,expense,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_6542,6542,分保费用,,FALSE,expense,tag24,l10n_chart_china_standard_business_latest
|
||||||
|
account_6601,6601,销售费用,,FALSE,expense,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6602,6602,管理费用,,FALSE,expense,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6603,6603,财务费用,,FALSE,expense,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6604,6604,勘探费用,,FALSE,expense,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6701,6701,资产减值损失,,FALSE,expense,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6711,6711,营业外支出,,FALSE,expense,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6801,6801,所得税费用,,FALSE,expense,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6901,6901,以前年度损益调整,,FALSE,expense,,l10n_chart_china_standard_business_latest
|
||||||
|
7
l10n_cn_standard_latest/data/account.group.csv
Normal file
7
l10n_cn_standard_latest/data/account.group.csv
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
"id","code_prefix_start","code_prefix_end","name"
|
||||||
|
"account_group_1","1","1","资产类"
|
||||||
|
"account_group_2","2","2","负债类"
|
||||||
|
"account_group_3","3","3","共同类"
|
||||||
|
"account_group_4","4","4","所有者权益类"
|
||||||
|
"account_group_5","5","5","成本类"
|
||||||
|
"account_group_6","6","6","损益类"
|
||||||
|
92
l10n_cn_standard_latest/data/account_account_tag_data.xml
Normal file
92
l10n_cn_standard_latest/data/account_account_tag_data.xml
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
|
||||||
|
<data noupdate="1">
|
||||||
|
<!-- Account Tax -->
|
||||||
|
<record id="tag_cn0_s" model="account.account.tag">
|
||||||
|
<field name="name">不计销项税</field>
|
||||||
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
|
</record>
|
||||||
|
<record id="tag_cn0_p" model="account.account.tag">
|
||||||
|
<field name="name">不计进项税</field>
|
||||||
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
|
</record>
|
||||||
|
<record id="tag_cn13_s" model="account.account.tag">
|
||||||
|
<field name="name">增值税13%销项税</field>
|
||||||
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
|
</record>
|
||||||
|
<record id="tag_cn13_p" model="account.account.tag">
|
||||||
|
<field name="name">增值税13%进项税</field>
|
||||||
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
|
</record>
|
||||||
|
<record id="tag_cn09_ex" model="account.account.tag">
|
||||||
|
<field name="name">9%出口退税</field>
|
||||||
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
|
</record>
|
||||||
|
<record id="tag_cn11_dept" model="account.account.tag">
|
||||||
|
<field name="name">11%离境退税</field>
|
||||||
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
|
</record>
|
||||||
|
<record id="tag_cn08_dept" model="account.account.tag">
|
||||||
|
<field name="name">8%离境退税</field>
|
||||||
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
|
</record>
|
||||||
|
<record id="tag_cn16_p" model="account.account.tag">
|
||||||
|
<field name="name">增值税16%进项税</field>
|
||||||
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
|
</record>
|
||||||
|
<record id="tag_cn16_s" model="account.account.tag">
|
||||||
|
<field name="name">增值税16%销项税</field>
|
||||||
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
|
</record>
|
||||||
|
<record id="tag21" model="account.account.tag">
|
||||||
|
<field name="name">银行专用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
|
</record>
|
||||||
|
<record id="tag22" model="account.account.tag">
|
||||||
|
<field name="name">证券专用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
|
</record>
|
||||||
|
<record id="tag23" model="account.account.tag">
|
||||||
|
<field name="name">金融共用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
|
</record>
|
||||||
|
<record id="tag24" model="account.account.tag">
|
||||||
|
<field name="name">保险专用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
|
</record>
|
||||||
|
<record id="tag25" model="account.account.tag">
|
||||||
|
<field name="name">银行和保险共用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
|
</record>
|
||||||
|
<record id="tag26" model="account.account.tag">
|
||||||
|
<field name="name">农业专用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
|
</record>
|
||||||
|
<record id="tag27" model="account.account.tag">
|
||||||
|
<field name="name">租赁专用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
|
</record>
|
||||||
|
<record id="tag28" model="account.account.tag">
|
||||||
|
<field name="name">石油天然气开采专用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
|
</record>
|
||||||
|
<record id="tag29" model="account.account.tag">
|
||||||
|
<field name="name">银行和证券共用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
|
</record>
|
||||||
|
<record id="tag30" model="account.account.tag">
|
||||||
|
<field name="name">建造承包商专用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
|
</record>
|
||||||
|
</data>
|
||||||
|
</odoo>
|
||||||
18
l10n_cn_standard_latest/data/account_chart_template_data.xml
Normal file
18
l10n_cn_standard_latest/data/account_chart_template_data.xml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
<data noupdate="1">
|
||||||
|
<record id="l10n_chart_china_standard_business_latest" model="account.chart.template">
|
||||||
|
<field name="property_account_receivable_id" ref="account_1122"/>
|
||||||
|
<field name="property_account_payable_id" ref="account_2202"/>
|
||||||
|
<field name="property_account_expense_categ_id" ref="account_6401"/>
|
||||||
|
<field name="property_account_income_categ_id" ref="account_6001"/>
|
||||||
|
<field name="income_currency_exchange_account_id" ref="account_6061"/>
|
||||||
|
<field name="expense_currency_exchange_account_id" ref="account_6061"/>
|
||||||
|
<field name="default_pos_receivable_account_id" ref="account_1124"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<!-- <function model="account.chart.template" name="try_loading">-->
|
||||||
|
<!-- <value eval="[ref('l10n_cn_standard_latest.l10n_chart_china_standard_business_latest')]"/>-->
|
||||||
|
<!-- </function>-->
|
||||||
|
</data>
|
||||||
|
</odoo>
|
||||||
21
l10n_cn_standard_latest/data/account_tax_group_data.xml
Normal file
21
l10n_cn_standard_latest/data/account_tax_group_data.xml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo noupdate="1">
|
||||||
|
<record id="l10n_cn_tax_group_vat_0" model="account.tax.group">
|
||||||
|
<field name="name">VAT 0%</field>
|
||||||
|
</record>
|
||||||
|
<record id="l10n_cn_tax_group_vat_3" model="account.tax.group">
|
||||||
|
<field name="name">VAT 3%</field>
|
||||||
|
</record>
|
||||||
|
<record id="l10n_cn_tax_group_vat_6" model="account.tax.group">
|
||||||
|
<field name="name">VAT 6%</field>
|
||||||
|
</record>
|
||||||
|
<record id="l10n_cn_tax_group_vat_9" model="account.tax.group">
|
||||||
|
<field name="name">VAT 9%</field>
|
||||||
|
</record>
|
||||||
|
<record id="l10n_cn_tax_group_vat_10" model="account.tax.group">
|
||||||
|
<field name="name">VAT 10%</field>
|
||||||
|
</record>
|
||||||
|
<record id="l10n_cn_tax_group_vat_13" model="account.tax.group">
|
||||||
|
<field name="name">VAT 13%</field>
|
||||||
|
</record>
|
||||||
|
</odoo>
|
||||||
534
l10n_cn_standard_latest/data/account_tax_template_data.xml
Normal file
534
l10n_cn_standard_latest/data/account_tax_template_data.xml
Normal file
@@ -0,0 +1,534 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo noupdate="1">
|
||||||
|
<!-- 不计税-->
|
||||||
|
<record id="l10n_cn_standard_sale_0" model="account.tax.template">
|
||||||
|
<field name="chart_template_id" ref="l10n_chart_china_standard_business_latest"/>
|
||||||
|
<field name="name">0%销项税</field>
|
||||||
|
<field name="description">增值税销项税0%</field>
|
||||||
|
<field name="amount">0</field>
|
||||||
|
<field name="amount_type">percent</field>
|
||||||
|
<field name="type_tax_use">sale</field>
|
||||||
|
<field name="price_include" eval="0"/>
|
||||||
|
<field name="tax_group_id" ref="l10n_cn_tax_group_vat_0"/>
|
||||||
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
</record>
|
||||||
|
<record id="l10n_cn_standard_purchase_0" model="account.tax.template">
|
||||||
|
<field name="chart_template_id" ref="l10n_chart_china_standard_business_latest"/>
|
||||||
|
<field name="name">0%进项税</field>
|
||||||
|
<field name="description">增值税进项税0%</field>
|
||||||
|
<field name="amount">0</field>
|
||||||
|
<field name="amount_type">percent</field>
|
||||||
|
<field name="type_tax_use">purchase</field>
|
||||||
|
<field name="price_include" eval="0"/>
|
||||||
|
<field name="tax_group_id" ref="l10n_cn_tax_group_vat_0"/>
|
||||||
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<!-- sale tax included -->
|
||||||
|
<record id="l10n_cn_standard_sale_included_13" model="account.tax.template">
|
||||||
|
<field name="chart_template_id" ref="l10n_chart_china_standard_business_latest"/>
|
||||||
|
<field name="name">13%销项税(含)</field>
|
||||||
|
<field name="description">增值税销项税13%(价内税)</field>
|
||||||
|
<field name="amount">13</field>
|
||||||
|
<field name="amount_type">percent</field>
|
||||||
|
<field name="type_tax_use">sale</field>
|
||||||
|
<field name="price_include" eval="1"/>
|
||||||
|
<field name="tax_group_id" ref="l10n_cn_tax_group_vat_13"/>
|
||||||
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="l10n_cn_standard_sale_included_10" model="account.tax.template">
|
||||||
|
<field name="chart_template_id" ref="l10n_chart_china_standard_business_latest"/>
|
||||||
|
<field name="name">10%销项税(含)</field>
|
||||||
|
<field name="description">增值税销项税10%(价内税)</field>
|
||||||
|
<field name="amount">10</field>
|
||||||
|
<field name="amount_type">percent</field>
|
||||||
|
<field name="type_tax_use">sale</field>
|
||||||
|
<field name="price_include" eval="1"/>
|
||||||
|
<field name="tax_group_id" ref="l10n_cn_tax_group_vat_10"/>
|
||||||
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="l10n_cn_standard_sale_included_9" model="account.tax.template">
|
||||||
|
<field name="chart_template_id" ref="l10n_chart_china_standard_business_latest"/>
|
||||||
|
<field name="name">9%销项税(含)</field>
|
||||||
|
<field name="description">增值税销项税9%(价内税)</field>
|
||||||
|
<field name="amount">9</field>
|
||||||
|
<field name="amount_type">percent</field>
|
||||||
|
<field name="type_tax_use">sale</field>
|
||||||
|
<field name="price_include" eval="1"/>
|
||||||
|
<field name="tax_group_id" ref="l10n_cn_tax_group_vat_9"/>
|
||||||
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="l10n_cn_standard_sale_included_6" model="account.tax.template">
|
||||||
|
<field name="chart_template_id" ref="l10n_chart_china_standard_business_latest"/>
|
||||||
|
<field name="name">6%销项税(含)</field>
|
||||||
|
<field name="description">增值税销项税6%(价内税)</field>
|
||||||
|
<field name="amount">6</field>
|
||||||
|
<field name="amount_type">percent</field>
|
||||||
|
<field name="type_tax_use">sale</field>
|
||||||
|
<field name="price_include" eval="1"/>
|
||||||
|
<field name="tax_group_id" ref="l10n_cn_tax_group_vat_6"/>
|
||||||
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="l10n_cn_standard_sale_included_3" model="account.tax.template">
|
||||||
|
<field name="chart_template_id" ref="l10n_chart_china_standard_business_latest"/>
|
||||||
|
<field name="name">3%销项税(含)</field>
|
||||||
|
<field name="description">增值税销项税3%(价内税)</field>
|
||||||
|
<field name="amount">3</field>
|
||||||
|
<field name="amount_type">percent</field>
|
||||||
|
<field name="type_tax_use">sale</field>
|
||||||
|
<field name="price_include" eval="1"/>
|
||||||
|
<field name="tax_group_id" ref="l10n_cn_tax_group_vat_3"/>
|
||||||
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<!-- sale tax excluded -->
|
||||||
|
<record id="l10n_cn_standard_sale_excluded_13" model="account.tax.template">
|
||||||
|
<field name="chart_template_id" ref="l10n_chart_china_standard_business_latest"/>
|
||||||
|
<field name="name">13%销项税</field>
|
||||||
|
<field name="description">增值税销项税13%(价外税)</field>
|
||||||
|
<field name="amount">13</field>
|
||||||
|
<field name="amount_type">percent</field>
|
||||||
|
<field name="type_tax_use">sale</field>
|
||||||
|
<field name="price_include" eval="0"/>
|
||||||
|
<field name="tax_group_id" ref="l10n_cn_tax_group_vat_13"/>
|
||||||
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="l10n_cn_standard_sale_excluded_10" model="account.tax.template">
|
||||||
|
<field name="chart_template_id" ref="l10n_chart_china_standard_business_latest"/>
|
||||||
|
<field name="name">10%销项税</field>
|
||||||
|
<field name="description">增值税销项税10%(价外税)</field>
|
||||||
|
<field name="amount">10</field>
|
||||||
|
<field name="amount_type">percent</field>
|
||||||
|
<field name="type_tax_use">sale</field>
|
||||||
|
<field name="price_include" eval="0"/>
|
||||||
|
<field name="tax_group_id" ref="l10n_cn_tax_group_vat_10"/>
|
||||||
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="l10n_cn_standard_sale_excluded_9" model="account.tax.template">
|
||||||
|
<field name="chart_template_id" ref="l10n_chart_china_standard_business_latest"/>
|
||||||
|
<field name="name">9%销项税</field>
|
||||||
|
<field name="description">增值税销项税9%(价外税)</field>
|
||||||
|
<field name="amount">9</field>
|
||||||
|
<field name="amount_type">percent</field>
|
||||||
|
<field name="type_tax_use">sale</field>
|
||||||
|
<field name="price_include" eval="0"/>
|
||||||
|
<field name="tax_group_id" ref="l10n_cn_tax_group_vat_9"/>
|
||||||
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="l10n_cn_standard_sale_excluded_6" model="account.tax.template">
|
||||||
|
<field name="chart_template_id" ref="l10n_chart_china_standard_business_latest"/>
|
||||||
|
<field name="name">6%销项税</field>
|
||||||
|
<field name="description">增值税销项税6%(价外税)</field>
|
||||||
|
<field name="amount">6</field>
|
||||||
|
<field name="amount_type">percent</field>
|
||||||
|
<field name="type_tax_use">sale</field>
|
||||||
|
<field name="price_include" eval="0"/>
|
||||||
|
<field name="tax_group_id" ref="l10n_cn_tax_group_vat_6"/>
|
||||||
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="l10n_cn_standard_sale_excluded_3" model="account.tax.template">
|
||||||
|
<field name="chart_template_id" ref="l10n_chart_china_standard_business_latest"/>
|
||||||
|
<field name="name">3%销项税</field>
|
||||||
|
<field name="description">增值税销项税3%(价外税)</field>
|
||||||
|
<field name="amount">3</field>
|
||||||
|
<field name="amount_type">percent</field>
|
||||||
|
<field name="type_tax_use">sale</field>
|
||||||
|
<field name="price_include" eval="0"/>
|
||||||
|
<field name="tax_group_id" ref="l10n_cn_tax_group_vat_3"/>
|
||||||
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_5'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<!-- purchase tax excluded -->
|
||||||
|
<record id="l10n_cn_standard_purchase_excluded_13" model="account.tax.template">
|
||||||
|
<field name="chart_template_id" ref="l10n_chart_china_standard_business_latest"/>
|
||||||
|
<field name="name">13%进项税</field>
|
||||||
|
<field name="description">增值税进项税13%(价外税)</field>
|
||||||
|
<field name="amount">13</field>
|
||||||
|
<field name="amount_type">percent</field>
|
||||||
|
<field name="type_tax_use">purchase</field>
|
||||||
|
<field name="price_include" eval="0"/>
|
||||||
|
<field name="tax_group_id" ref="l10n_cn_tax_group_vat_13"/>
|
||||||
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_1'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_1'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="l10n_cn_standard_purchase_excluded_10" model="account.tax.template">
|
||||||
|
<field name="chart_template_id" ref="l10n_chart_china_standard_business_latest"/>
|
||||||
|
<field name="name">10%进项税</field>
|
||||||
|
<field name="description">增值税进项税10%(价外税)</field>
|
||||||
|
<field name="amount">10</field>
|
||||||
|
<field name="amount_type">percent</field>
|
||||||
|
<field name="type_tax_use">purchase</field>
|
||||||
|
<field name="price_include" eval="0"/>
|
||||||
|
<field name="tax_group_id" ref="l10n_cn_tax_group_vat_10"/>
|
||||||
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_1'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_1'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="l10n_cn_standard_purchase_excluded_9" model="account.tax.template">
|
||||||
|
<field name="chart_template_id" ref="l10n_chart_china_standard_business_latest"/>
|
||||||
|
<field name="name">9%进项税</field>
|
||||||
|
<field name="description">增值税进项税9%(价外税)</field>
|
||||||
|
<field name="amount">9</field>
|
||||||
|
<field name="amount_type">percent</field>
|
||||||
|
<field name="type_tax_use">purchase</field>
|
||||||
|
<field name="price_include" eval="0"/>
|
||||||
|
<field name="tax_group_id" ref="l10n_cn_tax_group_vat_9"/>
|
||||||
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_1'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_1'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="l10n_cn_standard_purchase_excluded_6" model="account.tax.template">
|
||||||
|
<field name="chart_template_id" ref="l10n_chart_china_standard_business_latest"/>
|
||||||
|
<field name="name">6%进项税</field>
|
||||||
|
<field name="description">增值税进项税6%(价外税)</field>
|
||||||
|
<field name="amount">6</field>
|
||||||
|
<field name="amount_type">percent</field>
|
||||||
|
<field name="type_tax_use">purchase</field>
|
||||||
|
<field name="price_include" eval="0"/>
|
||||||
|
<field name="tax_group_id" ref="l10n_cn_tax_group_vat_6"/>
|
||||||
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_1'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'base',
|
||||||
|
}),
|
||||||
|
(0,0, {
|
||||||
|
'factor_percent': 100,
|
||||||
|
'repartition_type': 'tax',
|
||||||
|
'account_id': ref('account_2221_1_1'),
|
||||||
|
}),
|
||||||
|
]"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
</odoo>
|
||||||
15
l10n_cn_standard_latest/data/chart_data.xml
Normal file
15
l10n_cn_standard_latest/data/chart_data.xml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
|
||||||
|
<data noupdate="1">
|
||||||
|
<!-- Chart template -->
|
||||||
|
<record id="l10n_chart_china_standard_business_latest" model="account.chart.template">
|
||||||
|
<field name="name">2023中国企业会计科目表-odoo16</field>
|
||||||
|
<field name="code_digits" eval="4" />
|
||||||
|
<field name="currency_id" ref="base.CNY" />
|
||||||
|
<field name="cash_account_code_prefix">1001</field>
|
||||||
|
<field name="bank_account_code_prefix">1002</field>
|
||||||
|
<field name="transfer_account_code_prefix">1003</field>
|
||||||
|
</record>
|
||||||
|
</data>
|
||||||
|
</odoo>
|
||||||
176
l10n_cn_standard_latest/data/src/1account.account.template.csv
Normal file
176
l10n_cn_standard_latest/data/src/1account.account.template.csv
Normal file
@@ -0,0 +1,176 @@
|
|||||||
|
id,code,name,parent_id/id,reconcile,user_type_id/id,group_id/id,tag_ids/id,chart_template_id/id
|
||||||
|
account_1003,1003,存放中央银行款项,,TRUE,account.data_account_type_current_assets,account_group_1,tag3,l10n_chart_china_standard_business_latest
|
||||||
|
account_1011,1011,存放同业,,FALSE,account.data_account_type_current_assets,account_group_1,tag3,l10n_chart_china_standard_business_latest
|
||||||
|
account_1012,1012,其他货币资金,,FALSE,account.data_account_type_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1021,1021,结算备付金,,FALSE,account.data_account_type_current_assets,account_group_1,tag4,l10n_chart_china_standard_business_latest
|
||||||
|
account_1031,1031,存出保证金,,FALSE,account.data_account_type_current_assets,account_group_1,tag5,l10n_chart_china_standard_business_latest
|
||||||
|
account_1101,1101,交易性金融资产,,FALSE,account.data_account_type_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1111,1111,买入返售金融资产,,FALSE,account.data_account_type_current_assets,account_group_1,tag5,l10n_chart_china_standard_business_latest
|
||||||
|
account_1121,1121,应收票据,,TRUE,account.data_account_type_receivable,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1122,1122,应收账款,,TRUE,account.data_account_type_receivable,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1123,1123,预付账款,,TRUE,account.data_account_type_receivable,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1131,1131,应收股利,,TRUE,account.data_account_type_receivable,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1132,1132,应收利息,,TRUE,account.data_account_type_receivable,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1201,1201,应收代位追偿款,,FALSE,account.data_account_type_current_assets,account_group_1,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_1211,1211,应收分保账款,,FALSE,account.data_account_type_current_assets,account_group_1,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_1212,1212,应收分保合同准备金,,FALSE,account.data_account_type_current_assets,account_group_1,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_1221,1221,其他应收款,,FALSE,account.data_account_type_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1231,1231,坏账准备,,FALSE,account.data_account_type_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1301,1301,贴现资产,,FALSE,account.data_account_type_current_assets,account_group_1,tag3,l10n_chart_china_standard_business_latest
|
||||||
|
account_1302,1302,拆出资金,,FALSE,account.data_account_type_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1303,1303,贷款,,FALSE,account.data_account_type_current_assets,account_group_1,tag7,l10n_chart_china_standard_business_latest
|
||||||
|
account_1304,1304,贷款损失准备,,FALSE,account.data_account_type_current_assets,account_group_1,tag7,l10n_chart_china_standard_business_latest
|
||||||
|
account_1311,1311,代理兑付证券,,FALSE,account.data_account_type_current_assets,account_group_1,tag11,l10n_chart_china_standard_business_latest
|
||||||
|
account_1321,1321,代理业务资产,,FALSE,account.data_account_type_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1401,1401,材料采购,,FALSE,account.data_account_type_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1402,1402,在途物资,,FALSE,account.data_account_type_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1403,1403,原材料,,FALSE,account.data_account_type_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1404,1404,材料成本差异,,FALSE,account.data_account_type_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1405,1405,库存商品,,FALSE,account.data_account_type_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1406,1406,发出商品,,FALSE,account.data_account_type_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1407,1407,商品进销差价,,FALSE,account.data_account_type_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1408,1408,委托加工物资,,FALSE,account.data_account_type_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1411,1411,周转材料,,FALSE,account.data_account_type_non_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1421,1421,消耗性生物资产,,FALSE,account.data_account_type_non_current_assets,account_group_1,tag8,l10n_chart_china_standard_business_latest
|
||||||
|
account_1431,1431,贵金属,,FALSE,account.data_account_type_non_current_assets,account_group_1,tag3,l10n_chart_china_standard_business_latest
|
||||||
|
account_1441,1441,抵债资产,,FALSE,account.data_account_type_non_current_assets,account_group_1,tag5,l10n_chart_china_standard_business_latest
|
||||||
|
account_1451,1451,损余物资,,FALSE,account.data_account_type_non_current_assets,account_group_1,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_1461,1461,融资租赁资产,,FALSE,account.data_account_type_non_current_assets,account_group_1,tag9,l10n_chart_china_standard_business_latest
|
||||||
|
account_1471,1471,存货跌价准备,,FALSE,account.data_account_type_non_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1501,1501,持有至到期投资,,FALSE,account.data_account_type_non_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1502,1502,持有至到期投资减值准备,,FALSE,account.data_account_type_non_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1503,1503,可供出售金融资产,,FALSE,account.data_account_type_non_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1511,1511,长期股权投资,,FALSE,account.data_account_type_non_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1512,1512,长期股权投资减值准备,,FALSE,account.data_account_type_non_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1521,1521,投资性房地产,,FALSE,account.data_account_type_non_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1531,1531,长期应收款,,FALSE,account.data_account_type_non_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1532,1532,未实现融资收益,,FALSE,account.data_account_type_non_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1541,1541,存出资本保证金,,FALSE,account.data_account_type_non_current_assets,account_group_1,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_1601,1601,固定资产,,FALSE,account.data_account_type_fixed_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1602,1602,累计折旧,,FALSE,account.data_account_type_fixed_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1603,1603,固定资产减值准备,,FALSE,account.data_account_type_fixed_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1604,1604,在建工程,,FALSE,account.data_account_type_fixed_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1605,1605,工程物资,,FALSE,account.data_account_type_fixed_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1606,1606,固定资产清理,,FALSE,account.data_account_type_fixed_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1611,1611,未担保余值,,FALSE,account.data_account_type_current_assets,account_group_1,tag9,l10n_chart_china_standard_business_latest
|
||||||
|
account_1621,1621,生产性生物资产,,FALSE,account.data_account_type_current_assets,account_group_1,tag8,l10n_chart_china_standard_business_latest
|
||||||
|
account_1622,1622,生产性生物资产累计折旧,,FALSE,account.data_account_type_current_assets,account_group_1,tag8,l10n_chart_china_standard_business_latest
|
||||||
|
account_1623,1623,公益性生物资产,,FALSE,account.data_account_type_current_assets,account_group_1,tag8,l10n_chart_china_standard_business_latest
|
||||||
|
account_1631,1631,油气资产,,FALSE,account.data_account_type_current_assets,account_group_1,tag10,l10n_chart_china_standard_business_latest
|
||||||
|
account_1632,1632,累计折耗,,FALSE,account.data_account_type_current_assets,account_group_1,tag10,l10n_chart_china_standard_business_latest
|
||||||
|
account_1701,1701,无形资产,,FALSE,account.data_account_type_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1702,1702,累计摊销,,FALSE,account.data_account_type_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1703,1703,无形资产减值准备,,FALSE,account.data_account_type_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1711,1711,商誉,,FALSE,account.data_account_type_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1801,1801,长期待摊费用,,FALSE,account.data_account_type_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1811,1811,递延所得税资产,,FALSE,account.data_account_type_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_1821,1821,独立账户资产,,FALSE,account.data_account_type_current_assets,account_group_1,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_1901,1901,待处理财产损溢,,FALSE,account.data_account_type_current_assets,account_group_1,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2001,2001,短期借款,,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2002,2002,存入保证金,,FALSE,account.data_account_type_current_liabilities,account_group_2,tag5,l10n_chart_china_standard_business_latest
|
||||||
|
account_2003,2003,拆入资金,,FALSE,account.data_account_type_current_liabilities,account_group_2,tag5,l10n_chart_china_standard_business_latest
|
||||||
|
account_2004,2004,向中央银行借款,,FALSE,account.data_account_type_current_liabilities,account_group_2,tag3,l10n_chart_china_standard_business_latest
|
||||||
|
account_2011,2011,吸收存款,,FALSE,account.data_account_type_current_liabilities,account_group_2,tag3,l10n_chart_china_standard_business_latest
|
||||||
|
account_2012,2012,同业存放,,FALSE,account.data_account_type_current_liabilities,account_group_2,tag3,l10n_chart_china_standard_business_latest
|
||||||
|
account_2021,2021,贴现负债,,FALSE,account.data_account_type_current_liabilities,account_group_2,tag3,l10n_chart_china_standard_business_latest
|
||||||
|
account_2101,2101,交易性金融负债,,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2111,2111,卖出回购金融资产款,,FALSE,account.data_account_type_current_liabilities,account_group_2,tag5,l10n_chart_china_standard_business_latest
|
||||||
|
account_2201,2201,应付票据,,TRUE,account.data_account_type_payable,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2202,2202,应付账款,,TRUE,account.data_account_type_payable,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2203,2203,预收账款,,TRUE,account.data_account_type_payable,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2211,2211,应付职工薪酬,,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221,2221,应交税费,,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_1,2221.01,应交增值税,account_2221,FALSE,account.data_account_type_current_liabilities,account_group_2,,l11n_chart_china_standard_business_latest
|
||||||
|
account_2221_1_1,2221.01.01,进项税额,account_2221_1,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_1_2,2221.01.02,已交税金,account_2221_1,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_1_3,2221.01.03,转出未交增值税,account_2221_1,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_1_4,2221.01.04,减免税款,account_2221_1,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_1_5,2221.01.05,销项税额,account_2221_1,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_1_6,2221.01.06,出口退税,account_2221_1,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_1_7,2221.01.07,进项税额转出,account_2221_1,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_1_8,2221.01.08,出口抵减内销产品应纳税额,account_2221_1,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_1_9,2221.01.09,转出多交增值税,account_2221_1,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_2,2221.02,未交增值税,account_2221,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_3,2221.03,应交营业税,account_2221,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_4,2221.04,应交消费税,account_2221,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_5,2221.05,应交资源税,account_2221,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_6,2221.06,应交所得税,account_2221,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_7,2221.07,应交土地增值税,account_2221,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_8,2221.08,应交城市维护建设税,account_2221,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_9,2221.09,应交房产税,account_2221,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_10,2221.10,应交土地使用税,account_2221,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_11,2221.11,应交车船使用税,account_2221,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2221_12,2221.12,应交个人所得税,account_2221,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2231,2231,应付利息,,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2232,2232,应付股利,,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2241,2241,其他应付款,,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2251,2251,应付保单红利,,FALSE,account.data_account_type_current_liabilities,account_group_2,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_2261,2261,应付分保账款,,FALSE,account.data_account_type_current_liabilities,account_group_2,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_2311,2311,代理买卖证券款,,FALSE,account.data_account_type_current_liabilities,account_group_2,tag4,l10n_chart_china_standard_business_latest
|
||||||
|
account_2312,2312,代理承销证券款,,FALSE,account.data_account_type_current_liabilities,account_group_2,tag11,l10n_chart_china_standard_business_latest
|
||||||
|
account_2313,2313,代理兑付证券款,,FALSE,account.data_account_type_current_liabilities,account_group_2,tag11,l10n_chart_china_standard_business_latest
|
||||||
|
account_2314,2314,代理业务负债,,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2401,2401,递延收益,,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2501,2501,长期借款,,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2502,2502,应付债券,,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2601,2601,未到期责任准备金,,FALSE,account.data_account_type_current_liabilities,account_group_2,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_2602,2602,保险责任准备金,,FALSE,account.data_account_type_current_liabilities,account_group_2,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_2611,2611,保户储金,,FALSE,account.data_account_type_current_liabilities,account_group_2,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_2621,2621,独立账户负债,,FALSE,account.data_account_type_current_liabilities,account_group_2,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_2701,2701,长期应付款,,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2702,2702,未确认融资费用,,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2711,2711,专项应付款,,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2801,2801,预计负债,,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_2901,2901,递延所得税负债,,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest
|
||||||
|
account_3001,3001,清算资金往来,,FALSE,l10n_cn.user_type_all,account_group_3,tag3,l10n_chart_china_standard_business_latest
|
||||||
|
account_3002,3002,货币兑换,,FALSE,l10n_cn.user_type_all,account_group_3,tag5,l10n_chart_china_standard_business_latest
|
||||||
|
account_3101,3101,衍生工具,,FALSE,l10n_cn.user_type_all,account_group_3,,l10n_chart_china_standard_business_latest
|
||||||
|
account_3201,3201,套期工具,,FALSE,l10n_cn.user_type_all,account_group_3,,l10n_chart_china_standard_business_latest
|
||||||
|
account_3202,3202,被套期项目,,FALSE,l10n_cn.user_type_all,account_group_3,,l10n_chart_china_standard_business_latest
|
||||||
|
account_4001,4001,实收资本,,FALSE,account.data_account_type_equity,account_group_4,,l10n_chart_china_standard_business_latest
|
||||||
|
account_4002,4002,资本公积,,FALSE,account.data_account_type_equity,account_group_4,,l10n_chart_china_standard_business_latest
|
||||||
|
account_4101,4101,盈余公积,,FALSE,account.data_account_type_equity,account_group_4,,l10n_chart_china_standard_business_latest
|
||||||
|
account_4102,4102,一般风险准备,,FALSE,account.data_account_type_equity,account_group_4,tag5,l10n_chart_china_standard_business_latest
|
||||||
|
account_4103,4103,本年利润,,FALSE,account.data_account_type_equity,account_group_4,,l10n_chart_china_standard_business_latest
|
||||||
|
account_4104,4104,利润分配,,FALSE,account.data_account_type_equity,account_group_4,,l10n_chart_china_standard_business_latest
|
||||||
|
account_4201,4201,库存股,,FALSE,account.data_account_type_equity,account_group_4,,l10n_chart_china_standard_business_latest
|
||||||
|
account_5001,5001,生产成本,,FALSE,l10n_cn.user_type_all,account_group_5,,l10n_chart_china_standard_business_latest
|
||||||
|
account_5101,5101,制造费用,,FALSE,l10n_cn.user_type_all,account_group_5,,l10n_chart_china_standard_business_latest
|
||||||
|
account_5201,5201,劳务成本,,FALSE,l10n_cn.user_type_all,account_group_5,,l10n_chart_china_standard_business_latest
|
||||||
|
account_5301,5301,研发支出,,FALSE,l10n_cn.user_type_all,account_group_5,,l10n_chart_china_standard_business_latest
|
||||||
|
account_5401,5401,工程施工,,FALSE,l10n_cn.user_type_all,account_group_5,tag12,l10n_chart_china_standard_business_latest
|
||||||
|
account_5402,5402,工程结算,,FALSE,l10n_cn.user_type_all,account_group_5,tag12,l10n_chart_china_standard_business_latest
|
||||||
|
account_5403,5403,机械作业,,FALSE,l10n_cn.user_type_all,account_group_5,tag12,l10n_chart_china_standard_business_latest
|
||||||
|
account_6001,6001,主营业务收入,,FALSE,account.data_account_type_revenue,account_group_6,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6011,6011,利息收入,,FALSE,account.data_account_type_revenue,account_group_6,tag5,l10n_chart_china_standard_business_latest
|
||||||
|
account_6021,6021,手续费及佣金收入,,FALSE,account.data_account_type_revenue,account_group_6,tag5,l10n_chart_china_standard_business_latest
|
||||||
|
account_6031,6031,保费收入,,FALSE,account.data_account_type_revenue,account_group_6,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_6041,6041,租赁收入,,FALSE,account.data_account_type_revenue,account_group_6,tag9,l10n_chart_china_standard_business_latest
|
||||||
|
account_6051,6051,其他业务收入,,FALSE,account.data_account_type_revenue,account_group_6,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6061,6061,汇兑损益,,FALSE,account.data_account_type_revenue,account_group_6,tag5,l10n_chart_china_standard_business_latest
|
||||||
|
account_6101,6101,公允价值变动损益,,FALSE,account.data_account_type_revenue,account_group_6,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6111,6111,投资收益,,FALSE,account.data_account_type_revenue,account_group_6,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6201,6201,摊回保险责任准备金,,FALSE,account.data_account_type_expenses,account_group_6,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_6202,6202,摊回赔付支出,,FALSE,account.data_account_type_expenses,account_group_6,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_6203,6203,摊回分保费用,,FALSE,account.data_account_type_expenses,account_group_6,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_6301,6301,营业外收入,,FALSE,account.data_account_type_expenses,account_group_6,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6401,6401,主营业务成本,,FALSE,account.data_account_type_expenses,account_group_6,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6402,6402,其他业务成本,,FALSE,account.data_account_type_expenses,account_group_6,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6403,6403,税金及附加,,FALSE,account.data_account_type_expenses,account_group_6,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6411,6411,利息支出,,FALSE,account.data_account_type_expenses,account_group_6,tag5,l10n_chart_china_standard_business_latest
|
||||||
|
account_6421,6421,手续费及佣金支出,,FALSE,account.data_account_type_expenses,account_group_6,tag5,l10n_chart_china_standard_business_latest
|
||||||
|
account_6501,6501,提取未到期责任准备金,,FALSE,account.data_account_type_expenses,account_group_6,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_6502,6502,提取保险责任准备金,,FALSE,account.data_account_type_expenses,account_group_6,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_6511,6511,赔付支出,,FALSE,account.data_account_type_expenses,account_group_6,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_6521,6521,保户红利支出,,FALSE,account.data_account_type_expenses,account_group_6,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_6531,6531,退保金,,FALSE,account.data_account_type_expenses,account_group_6,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_6541,6541,分出保费,,FALSE,account.data_account_type_expenses,account_group_6,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_6542,6542,分保费用,,FALSE,account.data_account_type_expenses,account_group_6,tag6,l10n_chart_china_standard_business_latest
|
||||||
|
account_6601,6601,销售费用,,FALSE,account.data_account_type_expenses,account_group_6,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6602,6602,管理费用,,FALSE,account.data_account_type_expenses,account_group_6,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6603,6603,财务费用,,FALSE,account.data_account_type_expenses,account_group_6,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6604,6604,勘探费用,,FALSE,account.data_account_type_expenses,account_group_6,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6701,6701,资产减值损失,,FALSE,account.data_account_type_expenses,account_group_6,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6711,6711,营业外支出,,FALSE,account.data_account_type_expenses,account_group_6,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6801,6801,所得税费用,,FALSE,account.data_account_type_expenses,account_group_6,,l10n_chart_china_standard_business_latest
|
||||||
|
account_6901,6901,以前年度损益调整,,FALSE,account.data_account_type_expenses,account_group_6,,l10n_chart_china_standard_business_latest
|
||||||
|
39
l10n_cn_standard_latest/hooks.py
Normal file
39
l10n_cn_standard_latest/hooks.py
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Created on 2017-11-22
|
||||||
|
# author: 欧度智能,https://www.odooai.cn
|
||||||
|
# email: 300883@qq.com
|
||||||
|
# resource of odooai
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
|
||||||
|
# Odoo在线中文用户手册(长期更新)
|
||||||
|
# https://www.odooai.cn/documentation/user/10.0/zh_CN/index.html
|
||||||
|
|
||||||
|
# Odoo10离线中文用户手册下载
|
||||||
|
# https://www.odooai.cn/odoo10_user_manual_document_offline/
|
||||||
|
# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备)
|
||||||
|
# https://www.odooai.cn/odoo10_developer_document_offline/
|
||||||
|
# description:
|
||||||
|
|
||||||
|
from odoo import api, SUPERUSER_ID
|
||||||
|
|
||||||
|
def pre_init_hook(cr):
|
||||||
|
"""
|
||||||
|
数据初始化,只在安装时执行,更新时不执行
|
||||||
|
"""
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
def post_init_hook(cr, registry):
|
||||||
|
"""
|
||||||
|
数据初始化,只在安装后执行,更新时不执行
|
||||||
|
此处不执行,只是记录,该数据已处理完成
|
||||||
|
"""
|
||||||
|
# cr.execute("UPDATE account_account_template set group_id = "
|
||||||
|
# "(select id from account_group where account_group.code_prefix_start=trim(substring(account_account_template.code from 1 for 1)) limit 1);")
|
||||||
|
|
||||||
|
cr.execute("UPDATE account_account set group_id = "
|
||||||
|
"(select id from account_group where account_group.code_prefix_start=trim(substring(account_account.code from 1 for 1)) limit 1);")
|
||||||
|
cr.commit()
|
||||||
|
pass
|
||||||
|
|
||||||
1490
l10n_cn_standard_latest/i18n/zh_CN.po
Normal file
1490
l10n_cn_standard_latest/i18n/zh_CN.po
Normal file
File diff suppressed because it is too large
Load Diff
12
l10n_cn_standard_latest/models/__init__.py
Normal file
12
l10n_cn_standard_latest/models/__init__.py
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from . import account_account_template
|
||||||
|
from . import account_account
|
||||||
|
from . import account_tax_group
|
||||||
|
from . import account_chart_template
|
||||||
|
from . import account_journal
|
||||||
|
from . import res_currency
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
41
l10n_cn_standard_latest/models/account_account.py
Normal file
41
l10n_cn_standard_latest/models/account_account.py
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Created on 2018-11-28
|
||||||
|
# author: 欧度智能,https://www.odooai.cn
|
||||||
|
# email: 300883@qq.com
|
||||||
|
# resource of odooai
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
|
||||||
|
# Odoo在线中文用户手册(长期更新)
|
||||||
|
# https://www.odooai.cn/documentation/user/10.0/zh_CN/index.html
|
||||||
|
|
||||||
|
# Odoo10离线中文用户手册下载
|
||||||
|
# https://www.odooai.cn/odoo10_user_manual_document_offline/
|
||||||
|
# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备)
|
||||||
|
# https://www.odooai.cn/odoo10_developer_document_offline/
|
||||||
|
# description:
|
||||||
|
|
||||||
|
from odoo import api, fields, models, _
|
||||||
|
from odoo.exceptions import UserError, ValidationError
|
||||||
|
|
||||||
|
class AccountAccount(models.Model):
|
||||||
|
_inherit = ['account.account']
|
||||||
|
_parent_name = "parent_id"
|
||||||
|
_parent_store = True
|
||||||
|
_parent_order = 'code'
|
||||||
|
# _rec_name = 'complete_name'
|
||||||
|
|
||||||
|
parent_id = fields.Many2one('account.account', 'Parent Chart', index=True, ondelete='cascade')
|
||||||
|
child_ids = fields.One2many('account.account', 'parent_id', 'Child Chart')
|
||||||
|
parent_path = fields.Char(index=True, unaccent=False)
|
||||||
|
|
||||||
|
@api.model
|
||||||
|
def _search_new_account_code(self, company, digits, prefix):
|
||||||
|
# 分隔符,金蝶为 ".",用友为"",注意odoo中一级科目,现金默认定义是4位头,银行是6位头
|
||||||
|
delimiter = '.'
|
||||||
|
for num in range(1, 100):
|
||||||
|
new_code = str(prefix.ljust(digits - 1, '0')) + delimiter + '%02d' % (num)
|
||||||
|
rec = self.search([('code', '=', new_code), ('company_id', '=', company.id)], limit=1)
|
||||||
|
if not rec:
|
||||||
|
return new_code
|
||||||
|
raise UserError(_('Cannot generate an unused account code.'))
|
||||||
32
l10n_cn_standard_latest/models/account_account_template.py
Normal file
32
l10n_cn_standard_latest/models/account_account_template.py
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Created on 2018-11-28
|
||||||
|
# author: 欧度智能,https://www.odooai.cn
|
||||||
|
# email: 300883@qq.com
|
||||||
|
# resource of odooai
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
|
||||||
|
# Odoo在线中文用户手册(长期更新)
|
||||||
|
# https://www.odooai.cn/documentation/user/10.0/zh_CN/index.html
|
||||||
|
|
||||||
|
# Odoo10离线中文用户手册下载
|
||||||
|
# https://www.odooai.cn/odoo10_user_manual_document_offline/
|
||||||
|
# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备)
|
||||||
|
# https://www.odooai.cn/odoo10_developer_document_offline/
|
||||||
|
# description:
|
||||||
|
|
||||||
|
from odoo import api, fields, models, exceptions, _
|
||||||
|
|
||||||
|
class AccountAccountTemplate(models.Model):
|
||||||
|
|
||||||
|
_inherit = ['account.account.template']
|
||||||
|
_parent_name = "parent_id"
|
||||||
|
_parent_store = True
|
||||||
|
_parent_order = 'code'
|
||||||
|
# _rec_name = 'complete_name'
|
||||||
|
|
||||||
|
parent_id = fields.Many2one('account.account.template', 'Parent Chart', index=True, ondelete='cascade')
|
||||||
|
child_ids = fields.One2many('account.account.template', 'parent_id', 'Child Chart')
|
||||||
|
parent_path = fields.Char(index=True, unaccent=False)
|
||||||
|
|
||||||
|
|
||||||
84
l10n_cn_standard_latest/models/account_chart_template.py
Normal file
84
l10n_cn_standard_latest/models/account_chart_template.py
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Created on 2018-11-07
|
||||||
|
# author: 欧度智能,https://www.odooai.cn
|
||||||
|
# email: 300883@qq.com
|
||||||
|
# resource of odooai
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
|
||||||
|
# Odoo在线中文用户手册(长期更新)
|
||||||
|
# https://www.odooai.cn/documentation/user/10.0/zh_CN/index.html
|
||||||
|
|
||||||
|
# Odoo10离线中文用户手册下载
|
||||||
|
# https://www.odooai.cn/odoo10_user_manual_document_offline/
|
||||||
|
# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备)
|
||||||
|
# https://www.odooai.cn/odoo10_developer_document_offline/
|
||||||
|
# description:
|
||||||
|
|
||||||
|
from odoo import api, fields, models, _
|
||||||
|
from odoo.exceptions import UserError
|
||||||
|
|
||||||
|
class AccountChartTemplate(models.Model):
|
||||||
|
_inherit = "account.chart.template"
|
||||||
|
|
||||||
|
@api.model
|
||||||
|
def _prepare_transfer_account_template(self):
|
||||||
|
# 初始化时,使用 _load 方法,不再使用此方法了
|
||||||
|
''' Prepare values to create the transfer account that is an intermediary account used when moving money
|
||||||
|
from a liquidity account to another.
|
||||||
|
|
||||||
|
:return: A dictionary of values to create a new account.account.
|
||||||
|
'''
|
||||||
|
# 分隔符,金蝶为 ".",用友为"",注意odoo中一级科目,现金默认定义是4位头,银行是6位头
|
||||||
|
delimiter = '.'
|
||||||
|
digits = self.code_digits
|
||||||
|
prefix = self.transfer_account_code_prefix or ''
|
||||||
|
# Flatten the hierarchy of chart templates.
|
||||||
|
chart_template = self
|
||||||
|
chart_templates = self
|
||||||
|
while chart_template.parent_id:
|
||||||
|
chart_templates += chart_template.parent_id
|
||||||
|
chart_template = chart_template.parent_id
|
||||||
|
new_code = ''
|
||||||
|
for num in range(1, 100):
|
||||||
|
new_code = str(prefix.ljust(digits - 1, '0')) + delimiter + '%02d' % (num)
|
||||||
|
rec = self.env['account.account.template'].search(
|
||||||
|
[('code', '=', new_code), ('chart_template_id', 'in', chart_templates.ids)], limit=1)
|
||||||
|
if not rec:
|
||||||
|
break
|
||||||
|
else:
|
||||||
|
raise UserError(_('Cannot generate an unused account code.'))
|
||||||
|
return {
|
||||||
|
'name': _('Liquidity Transfer'),
|
||||||
|
'code': new_code,
|
||||||
|
'account_type': 'asset_current',
|
||||||
|
'reconcile': True,
|
||||||
|
'chart_template_id': self.id,
|
||||||
|
}
|
||||||
|
|
||||||
|
def _load(self, company):
|
||||||
|
res = super(AccountChartTemplate, self)._load(company)
|
||||||
|
# 更新父级
|
||||||
|
company = self.env.user.company_id
|
||||||
|
acc_ids = self.env['account.account'].sudo().search([('company_id', '=', company.id)])
|
||||||
|
for acc in acc_ids:
|
||||||
|
code = acc.code
|
||||||
|
todo_account = self.env['account.account.template'].sudo().search([
|
||||||
|
('code', '=', code),
|
||||||
|
('chart_template_id', '=', self.id),
|
||||||
|
('parent_id', '!=', False)
|
||||||
|
], limit=1)
|
||||||
|
if len(todo_account) or code == '2221.01.01':
|
||||||
|
parent_code = todo_account[0].parent_id.code
|
||||||
|
if parent_code:
|
||||||
|
parent = self.env['account.account'].sudo().search([
|
||||||
|
('company_id', '=', company.id),
|
||||||
|
('code', '=', parent_code),
|
||||||
|
], limit=1)
|
||||||
|
if len(parent):
|
||||||
|
acc.write({
|
||||||
|
'parent_id': parent.id,
|
||||||
|
})
|
||||||
|
return res
|
||||||
|
|
||||||
|
|
||||||
33
l10n_cn_standard_latest/models/account_journal.py
Normal file
33
l10n_cn_standard_latest/models/account_journal.py
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from odoo import api, fields, models, _
|
||||||
|
|
||||||
|
|
||||||
|
# 调整初始化算法
|
||||||
|
class AccountJournal(models.Model):
|
||||||
|
_inherit = "account.journal"
|
||||||
|
|
||||||
|
@api.model
|
||||||
|
def _prepare_liquidity_account(self, name, company, currency_id, type):
|
||||||
|
digits = 6
|
||||||
|
chart = self.company_id.chart_template_id
|
||||||
|
if chart:
|
||||||
|
digits = int(chart.code_digits)
|
||||||
|
# Seek the next available number for the account code
|
||||||
|
if type == 'bank':
|
||||||
|
account_code_prefix = company.bank_account_code_prefix or ''
|
||||||
|
else:
|
||||||
|
account_code_prefix = company.cash_account_code_prefix or company.bank_account_code_prefix or ''
|
||||||
|
digits = len(account_code_prefix)
|
||||||
|
# 获取上级
|
||||||
|
p_account = self.env['account.account'].search([('code', '=', account_code_prefix), ('company_id', '=', company.id)], limit=1)
|
||||||
|
|
||||||
|
return {
|
||||||
|
'name': name,
|
||||||
|
'currency_id': currency_id or False,
|
||||||
|
'code': self.env['account.account']._search_new_account_code(company, digits, account_code_prefix),
|
||||||
|
'account_type': 'asset_cash',
|
||||||
|
'parent_id': p_account and p_account.id or False,
|
||||||
|
'group_id': p_account and p_account.group_id and p_account.group_id.id or False,
|
||||||
|
'company_id': company.id,
|
||||||
|
}
|
||||||
9
l10n_cn_standard_latest/models/account_tax_group.py
Normal file
9
l10n_cn_standard_latest/models/account_tax_group.py
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from odoo import api, fields, models, _, tools
|
||||||
|
|
||||||
|
class AccountTaxGroup(models.Model):
|
||||||
|
_inherit = 'account.tax.group'
|
||||||
|
|
||||||
|
active = fields.Boolean(default=True, help="Set active to false to hide the tax without removing it.")
|
||||||
|
|
||||||
50
l10n_cn_standard_latest/models/res_currency.py
Normal file
50
l10n_cn_standard_latest/models/res_currency.py
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
from odoo import api, fields, models, exceptions, _
|
||||||
|
|
||||||
|
|
||||||
|
class ResCurrency(models.Model):
|
||||||
|
_inherit = 'res.currency'
|
||||||
|
|
||||||
|
def rmb_upper(self, value):
|
||||||
|
"""
|
||||||
|
人民币大写
|
||||||
|
传入浮点类型的值返回 unicode 字符串
|
||||||
|
:param 传入阿拉伯数字
|
||||||
|
:return 返回值是对应阿拉伯数字的绝对值的中文数字
|
||||||
|
"""
|
||||||
|
if self.name != 'CNY':
|
||||||
|
return;
|
||||||
|
rmbmap = [u"零", u"壹", u"贰", u"叁", u"肆", u"伍", u"陆", u"柒", u"捌", u"玖"]
|
||||||
|
unit = [u"分", u"角", u"元", u"拾", u"佰", u"仟", u"万", u"拾", u"佰", u"仟", u"亿",
|
||||||
|
u"拾", u"佰", u"仟", u"万", u"拾", u"佰", u"仟", u"兆"]
|
||||||
|
# 冲红负数处理
|
||||||
|
xflag = 0
|
||||||
|
if value < 0:
|
||||||
|
xflag = value
|
||||||
|
value = abs(value)
|
||||||
|
# 先把value 数字进行格式化保留两位小数,转成字符串然后去除小数点
|
||||||
|
nums = map(int, list(str('%0.2f' % value).replace('.', '')))
|
||||||
|
words = []
|
||||||
|
zflag = 0 # 标记连续0次数,以删除万字,或适时插入零字
|
||||||
|
start = len(nums) - 3
|
||||||
|
for i in range(start, -3, -1): # 使i对应实际位数,负数为角分
|
||||||
|
# 大部分情况对应数字不等于零 或者是刚开始循环
|
||||||
|
if 0 != nums[start - i] or len(words) == 0:
|
||||||
|
if zflag:
|
||||||
|
words.append(rmbmap[0])
|
||||||
|
zflag = 0
|
||||||
|
words.append(rmbmap[nums[start - i]]) # 数字对应的中文字符
|
||||||
|
words.append(unit[i + 2]) # 列表此位置的单位
|
||||||
|
# 控制‘万/元’ 万和元比较特殊,如2拾万和2拾1万 无论有没有这个1 万字是必须的
|
||||||
|
elif 0 == i or (0 == i % 4 and zflag < 3):
|
||||||
|
# 上面那种情况定义了 2拾1万 的显示 这个是特殊对待的 2拾万(一类)的显示
|
||||||
|
words.append(unit[i + 2])
|
||||||
|
# 元(控制条件为 0 == i )和万(控制条为(0 == i % 4 and zflag < 3))的情况的处理是一样的
|
||||||
|
zflag = 0
|
||||||
|
else:
|
||||||
|
zflag += 1
|
||||||
|
if words[-1] != unit[0]: # 结尾非‘分’补整字 最小单位 如果最后一个字符不是最小单位(分)则要加一个整字
|
||||||
|
words.append(u"整")
|
||||||
|
if xflag < 0: # 如果为负数则要在数字前面加上‘负’字
|
||||||
|
words.insert(0, u"负")
|
||||||
|
return ''.join(words)
|
||||||
BIN
l10n_cn_standard_latest/static/description/banner.png
Normal file
BIN
l10n_cn_standard_latest/static/description/banner.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 288 KiB |
BIN
l10n_cn_standard_latest/static/description/cnreadme.png
Normal file
BIN
l10n_cn_standard_latest/static/description/cnreadme.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 74 KiB |
BIN
l10n_cn_standard_latest/static/description/icon.png
Normal file
BIN
l10n_cn_standard_latest/static/description/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 162 KiB |
68
l10n_cn_standard_latest/static/description/index.html
Normal file
68
l10n_cn_standard_latest/static/description/index.html
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
<section class="oe_container container">
|
||||||
|
<div class="oe_row oe_spaced">
|
||||||
|
<div class="row">
|
||||||
|
<h2 class="oe_slogan">App Latest Chinese Account chart 2021.</h2>
|
||||||
|
<h3 class="oe_slogan">Set all chinese default value. Like Default country, timezone, currency, partner... </h3>
|
||||||
|
<div class="oe_row">
|
||||||
|
<h3>Lastest update: v16.23.09.18</h3>
|
||||||
|
<div class="row">
|
||||||
|
<img class="oe_demo oe_screenshot img img-fluid" src="banner.png">
|
||||||
|
</div>
|
||||||
|
<div class="oe_span12 oe_spaced">
|
||||||
|
<div class="alert alert-info" style="padding:8px;font-weight: 300; font-size: 20px;">
|
||||||
|
<i class="fa fa-hand-o-right"></i><b> Key features: </b>
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li>
|
||||||
|
<i class="fa fa-check-square-o text-primary"></i>
|
||||||
|
The Latest Account Chart for Odoo16.
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h3 class="oe_slogan">Use super, easy to navigate account data.</h3>
|
||||||
|
<div class="row">
|
||||||
|
<img class="oe_demo oe_screenshot img img-fluid" src="superbar1.png">
|
||||||
|
</div>
|
||||||
|
<h3 class="oe_slogan">How to use</h3>
|
||||||
|
<div class="row">
|
||||||
|
<img class="oe_demo oe_screenshot img img-fluid" src="cnreadme.png">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="container oe_dark">
|
||||||
|
<div class="oe_row oe_spaced text-center">
|
||||||
|
<div class="row">
|
||||||
|
<h2 class="oe_slogan">Technical Help & Support</h2>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-12 pad0">
|
||||||
|
<div class="oe_mt16">
|
||||||
|
<p><h4>
|
||||||
|
For any type of technical help & support requests, Feel free to contact us</h4></p>
|
||||||
|
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
|
||||||
|
class="btn btn-warning btn-lg" rel="nofollow" href="mailto:odoo@china.com"><span
|
||||||
|
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
|
||||||
|
<i class="fa fa-envelope"></i> odoo@china.com</a>
|
||||||
|
<p><h4>
|
||||||
|
Via QQ: 300883 (App user would not get QQ or any other IM support. Only for odoo project customize.)</h4></p>
|
||||||
|
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
|
||||||
|
class="btn btn-warning btn-lg" rel="nofollow" href="mailto:300883@qq.com"><span
|
||||||
|
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
|
||||||
|
<i class="fa fa-envelope"></i> 300883@qq.com</a>
|
||||||
|
</div>
|
||||||
|
<div class="oe_mt16">
|
||||||
|
<h4>
|
||||||
|
Visit our website for more support.</h4>
|
||||||
|
<h4>https://www.odooai.cn</h4>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="oe_row oe_spaced text-center">
|
||||||
|
<h2>More Powerful addons, Make your odoo very easy to use, easy customize:
|
||||||
|
<a class="btn btn-primary mb16" href="http://www.odoo.com/apps/modules/browse?author=odooai.cn">odooai.cn Odoo Addons</a>
|
||||||
|
</h2>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
BIN
l10n_cn_standard_latest/static/description/superbar1.png
Normal file
BIN
l10n_cn_standard_latest/static/description/superbar1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 81 KiB |
51
l10n_cn_standard_latest/views/account_account_views.xml
Normal file
51
l10n_cn_standard_latest/views/account_account_views.xml
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
<data>
|
||||||
|
<!-- account.account -->
|
||||||
|
<record id="app_view_account_list" model="ir.ui.view">
|
||||||
|
<field name="name">app.account.list</field>
|
||||||
|
<field name="model">account.account</field>
|
||||||
|
<field name="inherit_id" ref="account.view_account_list"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<xpath expr="//tree" position="attributes">
|
||||||
|
<attribute name="default_order">code</attribute>
|
||||||
|
</xpath>
|
||||||
|
<xpath expr="field[@name='account_type']" position="after">
|
||||||
|
<field name="group_id"/>
|
||||||
|
<field name="tag_ids" widget="many2many_tags"/>
|
||||||
|
</xpath>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
<record id="init_accounts_tree" model="ir.ui.view">
|
||||||
|
<field name="name">app.account.setup.opening.move.line.tree</field>
|
||||||
|
<field name="model">account.account</field>
|
||||||
|
<field name="inherit_id" ref="account.init_accounts_tree"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<xpath expr="field[@name='account_type']" position="after">
|
||||||
|
<field name="group_id"/>
|
||||||
|
<field name="tag_ids" widget="many2many_tags"/>
|
||||||
|
</xpath>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
<record id="app_view_account_form" model="ir.ui.view">
|
||||||
|
<field name="name">app.account.account.form</field>
|
||||||
|
<field name="model">account.account</field>
|
||||||
|
<field name="inherit_id" ref="account.view_account_form"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<xpath expr="//field[@name='account_type']" position="after">
|
||||||
|
<field name="parent_id"/>
|
||||||
|
</xpath>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
<record id="app_view_account_search" model="ir.ui.view">
|
||||||
|
<field name="name">app.account.account.search</field>
|
||||||
|
<field name="model">account.account</field>
|
||||||
|
<field name="inherit_id" ref="account.view_account_search"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<xpath expr="//group" position="inside">
|
||||||
|
<filter string="Group" name="account_group" domain="" context="{'group_by':'group_id'}"/>
|
||||||
|
</xpath>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
</data>
|
||||||
|
</odoo>
|
||||||
8
l10n_cn_standard_latest/views/account_views.xml
Normal file
8
l10n_cn_standard_latest/views/account_views.xml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
<data>
|
||||||
|
<!-- Top menu item -->
|
||||||
|
<menuitem name="Finance"
|
||||||
|
id="account.menu_finance"/>
|
||||||
|
</data>
|
||||||
|
</odoo>
|
||||||
Reference in New Issue
Block a user