init 15 demo

This commit is contained in:
ivan deng
2021-11-11 19:59:33 +08:00
parent f642e8c93e
commit 90507ba3cd
77 changed files with 5167 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
# -*- coding: utf-8 -*-
from .hooks import pre_init_hook
from .hooks import post_init_hook
from . import controllers
from . import models
from . import ir
from . import res

View File

@@ -0,0 +1,98 @@
# -*- coding: utf-8 -*-
# Created on 2018-11-05
# author: 广州尚鹏https://www.sunpop.cn
# email: 300883@qq.com
# resource of Sunpop
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# Odoo在线中文用户手册长期更新
# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html
# Odoo10离线中文用户手册下载
# https://www.sunpop.cn/odoo10_user_manual_document_offline/
# Odoo10离线开发手册下载-含python教程jquery参考Jinja2模板PostgresSQL参考odoo开发必备
# https://www.sunpop.cn/odoo10_developer_document_offline/
# description:
{
'name': "App base chinese中国化基本模块增强",
'version': '15.21.11.11',
'author': 'Sunpop.cn',
'category': 'Base',
'website': 'https://www.sunpop.cn',
'license': 'LGPL-3',
'sequence': 2,
'price': 0,
'currency': 'EUR',
'summary': """
Chinese enhance. Out of the box use in china.
Set all chinese default value.
Add quick set of english name.
Default country, timezone, currency, partner...
""",
'description': """
odoo Chinese Enhance. 中国化增强-基础
1. 中文默认值,如国家、时区、货币等。处理模块 base, product.
2. 客户加简称,地址显示中文化,客户编码显示优先
3. 客户地址显示增加手机号与电话号码
4. 货币处理,增加排序显示
5. 用户名支持翻译(可能会增加复杂度,后续看)
6. 修正品类的列表及m2o字段中不显示中文目录名的Bug
7. 修正仓库位置的列表及m2o字段中不显示中文目录名的Bug
8. 超级用户改时区为 中国
9. 时间格式年月日为 2019-12-30时间为 22:10
10. 国家增加排序,中国排第一
11. 收款相关显示中国习惯
12. 翻译导出默认中文默认po
13. 在 base 模型增加 name_en_US 字段,赋值后同时改翻译值
14. 常用小数精度调整
15. 销售团队改为中国
21. todo:中文演示数据(只有demo模式才加载)
""",
'pre_init_hook': 'pre_init_hook',
'post_init_hook': 'post_init_hook',
'depends': [
'app_base',
'account',
'sales_team',
'stock',
],
'images': ['static/description/banner.jpg'],
'data': [
# 'views/res_partner_views.xml',
'views/res_currency_views.xml',
'views/sale_order_views.xml',
'views/account_move_views.xml',
'views/ir_default_views.xml',
# todo: set assets
# 'views/templates.xml',
'wizard/sale_make_invoice_advance_views.xml',
'data/ir_default_data.xml',
'data/base_data.xml',
'data/decimal_precision_data.xml',
'data/res_country_data.xml',
'data/res_currency_data.xml',
'data/res_lang_data.xml',
'data/product_data.xml',
'data/product_pricelist_data.xml',
'data/stock_location_data.xml',
'data/sales_team_data.xml',
],
'demo': [
],
'test': [
],
'css': [
],
'qweb': [
'static/src/xml/*.xml',
],
'js': [
],
'installable': True,
'application': True,
'auto_install': False,
}

View File

@@ -0,0 +1 @@
# -*- coding: utf-8 -*-

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<function name="install_lang" model="res.lang"/>
<record id="base.main_partner" model="res.partner" context="{'default_is_company': True}">
<field name="name">广州尚鹏</field>
</record>
<!-- Basic Company -->
<record id="base.main_company" model="res.company">
<field name="name">广州尚鹏</field>
</record>
<record model="res.partner" id="base.partner_root">
<field name="name">超管</field>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<!--<record id="sales_team.team_sales_department" model="crm.team">-->
<!--<field name="name">Sales</field>-->
<!--</record>-->
</data>
</odoo>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record id="product.decimal_discount" model="decimal.precision">
<field name="digits">0</field>
</record>
<record id="product.decimal_product_uom" model="decimal.precision">
<field name="digits">2</field>
</record>
<record id="account.decimal_payment" model="decimal.precision">
<field name="digits">3</field>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<data>
<!-- 各种默认值 -->
<!--设置客户默认国家为中国-->
<record id="res_partner_country_id_default" model="ir.default">
<field name="field_id" eval="ref('base.field_res_partner__country_id')"/>
<field name="json_value" eval="ref('base.cn')"/>
</record>
<!--设置默认时区为中国注意select 类型要加 ""-->
<record id="res_partner_tz_default" model="ir.default">
<field name="field_id" eval="ref('base.field_res_partner__tz')"/>
<field name="json_value">"Etc/GMT-8"</field>
</record>
<!--设置用户email在odoo内提醒-->
<record id="res_user_notify_email_default" model="ir.default">
<field name="field_id" eval="ref('mail.field_res_users__notification_type')"/>
<field name="json_value">"inbox"</field>
</record>
<!--设置产品默认是可库存产品-->
<record id="product_template_type_default" model="ir.default">
<field name="field_id" eval="ref('product.field_product_template__type')"/>
<field name="json_value">"product"</field>
</record>
<!--设置翻译导出默认中文-->
<record id="base_language_export_lang_default" model="ir.default">
<field name="field_id" eval="ref('base.field_base_language_export__lang')"/>
<field name="json_value">"zh_CN"</field>
</record>
<!--设置翻译导出默认po-->
<record id="base_language_export_format_default" model="ir.default">
<field name="field_id" eval="ref('base.field_base_language_export__format')"/>
<field name="json_value">"po"</field>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<!--
Resource: product.uom.categ
-->
<!--<record id="product.product_category_all" model="product.category">-->
<!--<field name="name">全部</field>-->
<!--</record>-->
<!--<record id="product.product_category_1" model="product.category">-->
<!--<field name="name">可销售</field>-->
<!--</record>-->
</data>
</odoo>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<!-- Price list -->
<record id="product.list0" model="product.pricelist">
<field name="currency_id" ref="base.CNY"/>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<!-- Country -->
<record id="base.cn" model="res.country">
<field name="address_format" eval="'%(country_name)s%(state_name)s%(city)s%(street)s\n%(street2)s'"/>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<!-- Currencies -->
<record id="base.USD" model="res.currency">
<field name="active" eval="False"/>
</record>
<record id="base.EUR" model="res.currency">
<field name="active" eval="False"/>
</record>
<record id="base.CNY" model="res.currency">
<field name="active" eval="True"/>
<field name="currency_unit_label"></field>
<field name="currency_subunit_label"></field>
<field name="position">before</field>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="0">
<!-- 时间格式 -->
<record id="base.lang_zh_CN" model="res.lang">
<field name="date_format">%Y-%m-%d</field>
<field name="time_format">%H:%M:%S</field>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record id="sales_team.team_sales_department" model="crm.team">
<field name="name">中国</field>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,7 @@
id,name
stock.stock_location_locations_partner,<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ
stock.stock_location_customers,<EFBFBD>ͻ<EFBFBD><EFBFBD><EFBFBD>λ
stock.stock_location_suppliers,<EFBFBD><EFBFBD>Ӧ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ
stock.stock_location_locations,<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ
stock.stock_location_locations_virtual,<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ
stock.stock_location_inter_wh,<EFBFBD>ڲ<EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><EFBFBD>λ
1 id name
2 stock.stock_location_locations_partner 往来单位
3 stock.stock_location_customers 客户区位
4 stock.stock_location_suppliers 供应商区位
5 stock.stock_location_locations 物理区位
6 stock.stock_location_locations_virtual 虚拟区位
7 stock.stock_location_inter_wh 内部中转区位

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="stock.removal_fifo" model="product.removal">
<field name="name">先进先出(FIFO)</field>
</record>
<record id="stock.removal_lifo" model="product.removal">
<field name="name">后进先出(LIFO)</field>
</record>
</data>
<data noupdate="0">
<record id="stock.stock_location_locations" model="stock.location">
<field name="name">物理区位</field>
</record>
<record id="stock.stock_location_locations_partner" model="stock.location">
<field name="name">往来单位</field>
</record>
<record id="stock.stock_location_locations_virtual" model="stock.location">
<field name="name">虚拟区位</field>
</record>
<record id="stock.stock_location_suppliers" model="stock.location">
<field name="name">供应商区位</field>
</record>
<record id="stock.stock_location_customers" model="stock.location">
<field name="name">客户区位</field>
</record>
<record id="stock.stock_location_inter_wh" model="stock.location">
<field name="name">内部中转区位</field>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,90 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record id="partner_demo" model="res.partner">
<field name="name">Demo User</field>
<field name="company_id" ref="main_company"/>
<field name="customer" eval="False"/>
<field name="email">demo@yourcompany.example.com</field>
<field name="company_name">YourCompany</field>
<field name="street">Avenue des Dessus-de-Lives, 2</field>
<field name="city">Namur (Loyers)</field>
<field name="zip">5101</field>
<field name="country_id" ref="be"/>
</record>
<record model="res.partner.bank" id="bank_partner_demo">
<field name="acc_number">60-16-13 31926819</field>
<field name="acc_type">bank</field>
<field name="partner_id" ref="partner_demo" />
</record>
<record id="main_partner" model="res.partner">
<field name="name">YourCompany</field>
<field name="company_name">YourCompany</field>
<field name="street">1725 Slough Ave.</field>
<field name="city">Scranton</field>
<field name="zip">18540</field>
<field name='country_id' ref='base.us'/>
<field name='state_id' ref='state_us_39'/>
<field name="phone">+1 555 123 8069</field>
<field name="email">info@yourcompany.example.com</field>
<field name="website">www.example.com</field>
<field name="image" type="base64" file="base/res/res_company_logo.png"/>
</record>
<record id="main_company" model="res.company">
<field name="name">YourCompany</field>
<field name="external_report_layout">standard</field>
</record>
<record id="user_demo" model="res.users">
<field name="partner_id" ref="base.partner_demo"/>
<field name="login">demo</field>
<field name="password">demo</field>
<field name="signature" type="xml"><span>-- <br/>+Mr Demo</span></field>
<field name="company_id" ref="main_company"/>
<field name="groups_id" eval="[(6,0,[ref('base.group_user'), ref('base.group_partner_manager')])]"/>
<field name="image" type="base64" file="base/static/img/user_demo-image.jpg"/>
</record>
<record model="res.partner" id="base.partner_root">
<field name="company_name">YourCompany</field>
<field name="street">215 Vine St</field>
<field name="city">Scranton</field>
<field name="zip">18503</field>
<field name='country_id' ref='base.us'/>
<field name='state_id' ref='state_us_39'/>
<field name="phone">+1 555-555-5555</field>
<field name="email">admin@yourcompany.example.com</field>
<field name="tz">Europe/Brussels</field>
<field name="image" type="base64" file="base/static/img/partner_root-image.jpg"/>
</record>
<!-- Portal : partner and user -->
<record id="partner_demo_portal" model="res.partner">
<field name="name">Demo Portal User</field>
<field name="email">demo.portal@yourcompany.example.com</field>
<field name="supplier" eval="False"/>
<field name="customer" eval="True"/>
<field name="city">Vivegnis</field>
<field name="zip">4683</field>
<field name="country_id" ref="base.be"/>
<field name="company_name">YourCompany</field>
<field name="street">Rue Cesar de Paepe, 43</field>
</record>
<record id="demo_user0" model="res.users" context="{'no_reset_password': True}">
<field name="partner_id" ref="partner_demo_portal"/>
<field name="login">portal</field>
<field name="password">portal</field>
<field name="signature"><![CDATA[<span>-- <br/>Mr Demo Portal</span>]]></field>
<field name="groups_id" eval="[(5,)]"/><!-- Avoid auto-including this user in any default group -->
</record>
<record id="base.group_portal" model="res.groups"><!-- Add the demo user to the portal (and therefore to the portal member group) -->
<field name="users" eval="[(4,ref('demo_user0'))]"/>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,738 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record id="product_category_2" model="product.category">
<field name="parent_id" ref="product.product_category_all"/>
<field name="name">Internal</field>
</record>
<record id="product_category_3" model="product.category">
<field name="parent_id" ref="product.product_category_1"/>
<field name="name">Services</field>
</record>
<record id="product_category_4" model="product.category">
<field name="parent_id" ref="product.product_category_1"/>
<field name="name">Software</field>
</record>
<record id="product_category_5" model="product.category">
<field name="parent_id" ref="product_category_1"/>
<field name="name">Physical</field>
</record>
<record id="service_order_01" model="product.product">
<field name="name">Prepaid Consulting</field>
<field name="categ_id" ref="product_category_3"/>
<field name="standard_price">40</field>
<field name="list_price">90</field>
<field name="type">service</field>
<field name="uom_id" ref="product_uom_hour"/>
<field name="uom_po_id" ref="product_uom_hour"/>
<field name="description">Example of product to invoice on order.</field>
<field name="default_code">SERV_ORDER</field>
</record>
<record id="service_delivery" model="product.product">
<field name="name">Cost-plus Contract</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">200.0</field>
<field name="list_price">180.0</field>
<field name="type">service</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="default_code">SERV_DEL</field>
</record>
<record id="service_cost_01" model="product.product">
<field name="name">External Audit</field>
<field name="categ_id" ref="product_category_3"/>
<field name="standard_price">160</field>
<field name="list_price">180</field>
<field name="type">service</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="description">Example of products to invoice based on cost.</field>
<field name="default_code">SERV_COST</field>
</record>
<record id="product_delivery_01" model="product.product">
<field name="name">Switch, 24 ports</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">55.0</field>
<field name="list_price">70.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="default_code">PROD_DEL</field>
</record>
<record id="product_delivery_02" model="product.product">
<field name="name">Datacard</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">35.0</field>
<field name="list_price">40.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="default_code">PROD_DEL02</field>
</record>
<record id="product_order_01" model="product.product">
<field name="name">Zed+ Antivirus</field>
<field name="categ_id" ref="product_category_4"/>
<field name="standard_price">235.0</field>
<field name="list_price">280.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="default_code">PROD_ORDER</field>
</record>
<record id="product_product_1" model="product.product">
<field name="name">GAP Analysis Service</field>
<field name="categ_id" ref="product_category_3"/>
<field name="standard_price">20.5</field>
<field name="list_price">30.75</field>
<field name="type">service</field>
<field name="uom_id" ref="product_uom_hour"/>
<field name="uom_po_id" ref="product_uom_hour"/>
<field name="description">Example of products to invoice based on delivery.</field>
</record>
<record id="product_product_2" model="product.product">
<field name="name">Support Services</field>
<field name="categ_id" ref="product_category_3"/>
<field name="standard_price">25.5</field>
<field name="list_price">38.25</field>
<field name="type">service</field>
<field name="uom_id" ref="product_uom_hour"/>
<field name="uom_po_id" ref="product_uom_hour"/>
<field name="description">Example of product to invoice based on delivery.</field>
</record>
<record id="product_product_3" model="product.product">
<field name="name">Computer SC234</field>
<field name="categ_id" ref="product_category_5"/>
<field name="list_price">450.0</field>
<field name="standard_price">300.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="description_sale">17" LCD Monitor&#xA;Processor AMD 8-Core</field>
<field name="default_code">PCSC234</field>
</record>
<!-- Ecommerce Variants and Products -->
<record id="product_attribute_1" model="product.attribute">
<field name="name">Memory</field>
</record>
<record id="product_attribute_value_1" model="product.attribute.value">
<field name="name">16 GB</field>
<field name="attribute_id" ref="product_attribute_1"/>
</record>
<record id="product_attribute_value_2" model="product.attribute.value">
<field name="name">32 GB</field>
<field name="attribute_id" ref="product_attribute_1"/>
</record>
<record id="product_attribute_2" model="product.attribute">
<field name="name">Color</field>
</record>
<record id="product_attribute_value_3" model="product.attribute.value">
<field name="name">White</field>
<field name="attribute_id" ref="product_attribute_2"/>
</record>
<record id="product_attribute_value_4" model="product.attribute.value">
<field name="name">Black</field>
<field name="attribute_id" ref="product_attribute_2"/>
</record>
<record id="product_attribute_3" model="product.attribute">
<field name="name">Wi-Fi</field>
</record>
<record id="product_attribute_value_5" model="product.attribute.value">
<field name="name">2.4 GHz</field>
<field name="attribute_id" ref="product_attribute_3"/>
</record>
<record id="product_product_4" model="product.product">
<field name="name">iPad Retina Display</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">500.0</field>
<field name="list_price">750.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="description_sale">7.9inch (diagonal) LED-backlit, 128Gb&#xA;Dual-core A5 with quad-core graphics&#xA;FaceTime HD Camera, 1.2 MP Photos</field>
<field name="default_code">E-COM01</field>
<field name="attribute_value_ids" eval="[(6,0,[ref('product.product_attribute_value_1'), ref('product.product_attribute_value_3')])]"/>
</record>
<record id="product_product_4b" model="product.product">
<field name="default_code">E-COM02</field>
<field name="product_tmpl_id" ref="product_product_4_product_template"/>
<field name="attribute_value_ids" eval="[(6,0,[ref('product.product_attribute_value_1'), ref('product.product_attribute_value_4')])]"/>
</record>
<record id="product_product_4c" model="product.product">
<field name="default_code">E-COM03</field>
<field name="product_tmpl_id" ref="product_product_4_product_template"/>
<field name="attribute_value_ids" eval="[(6,0,[ref('product.product_attribute_value_2'), ref('product.product_attribute_value_3')])]"/>
</record>
<record id="product_product_4d" model="product.product">
<field name="default_code">E-COM04</field>
<field name="product_tmpl_id" ref="product_product_4_product_template"/>
<field name="attribute_value_ids" eval="[(6,0,[ref('product.product_attribute_value_2'), ref('product.product_attribute_value_4')])]"/>
</record>
<record id="product_attribute_line_1" model="product.attribute.line">
<field name="product_tmpl_id" ref="product_product_4_product_template"/>
<field name="attribute_id" ref="product_attribute_1"/>
<field name="value_ids" eval="[(6,0,[ref('product.product_attribute_value_1'), ref('product.product_attribute_value_2')])]"/>
</record>
<record id="product_attribute_line_2" model="product.attribute.line">
<field name="product_tmpl_id" ref="product_product_4_product_template"/>
<field name="attribute_id" ref="product_attribute_2"/>
<field name="value_ids" eval="[(6,0,[ref('product.product_attribute_value_3'), ref('product.product_attribute_value_4')])]"/>
</record>
<record id="product_attribute_line_3" model="product.attribute.line">
<field name="product_tmpl_id" ref="product_product_4_product_template"/>
<field name="attribute_id" ref="product_attribute_3"/>
<field name="value_ids" eval="[(6,0,[ref('product.product_attribute_value_5')])]"/>
</record>
<record id="product_product_4_product_template" model="product.template">
<field name="attribute_line_ids" eval="[(6,0,[ref('product.product_attribute_line_1'), ref('product.product_attribute_line_2'), ref('product.product_attribute_line_3')])]"/>
</record>
<record id="product_product_4d" model="product.product">
<field name="active" eval="False"/>
</record>
<record id="product_attribute_price_1" model="product.attribute.price">
<field name="product_tmpl_id" ref="product_product_4_product_template"/>
<field name="value_id" ref="product_attribute_value_2"/>
<field name="price_extra">50.40</field>
</record>
<record id="product_product_5b" model="product.product">
<field name="name">Bose Mini Bluetooth Speaker</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">140.0</field>
<field name="list_price">247.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="description_sale">Bose's smallest portable Bluetooth speaker</field>
<field name="default_code">E-COM05</field>
</record>
<record id="product_product_5" model="product.product">
<field name="name">Custom Computer (kit)</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">600.0</field>
<field name="list_price">147.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="description">Custom computer shipped in kit.</field>
<field name="default_code">E-COM06</field>
</record>
<record id="product_product_5c" model="product.product">
<field name="name">Parts Replacement</field>
<field name="categ_id" ref="product_category_3"/>
<field name="standard_price">600.0</field>
<field name="list_price">147.0</field>
<field name="type">service</field>
</record>
<record id="product_product_6" model="product.product">
<field name="name">iPad Mini</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">800.0</field>
<field name="list_price">320.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="default_code">E-COM07</field>
<field name='weight'>0.330</field>
</record>
<record id="product_product_6c" model="product.product">
<field name="name">Repair</field>
<field name="categ_id" ref="product_category_3"/>
<field name="standard_price">800.0</field>
<field name="list_price">320.0</field>
<field name="type">service</field>
</record>
<record id="product_product_7" model="product.product">
<field name="name">Apple In-Ear Headphones</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">70.0</field>
<field name="list_price">79.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="default_code">E-COM08</field>
</record>
<record id="product_product_8" model="product.product">
<field name="name">iMac</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">1299.0</field>
<field name="list_price">1799.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="default_code">E-COM09</field>
<field name='weight'>9.54</field>
</record>
<record id="product_product_9" model="product.product">
<field name="name">Apple Wireless Keyboard</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">10.0</field>
<field name="list_price">47.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="default_code">E-COM10</field>
</record>
<record id="product_product_10" model="product.product">
<field name="name">Mouse, Optical</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">12.50</field>
<field name="list_price">14</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="default_code">E-COM11</field>
</record>
<record id="product_product_11" model="product.product">
<field name="name">iPod</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">14</field>
<field name="list_price">16.50</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="default_code">E-COM12</field>
<field name="attribute_value_ids" eval="[(6,0,[ref('product.product_attribute_value_1')])]"/>
</record>
<record id="product_product_11b" model="product.product">
<field name="default_code">E-COM13</field>
<field name="product_tmpl_id" ref="product_product_11_product_template"/>
<field name="attribute_value_ids" eval="[(6,0,[ref('product.product_attribute_value_2')])]"/>
</record>
<record id="product_product_11c" model="product.product">
<field name="name">Cleaning</field>
<field name="categ_id" ref="product_category_3"/>
<field name="standard_price">14</field>
<field name="list_price">16.50</field>
<field name="type">service</field>
</record>
<record id="product_attribute_line_4" model="product.attribute.line">
<field name="product_tmpl_id" ref="product_product_11_product_template"/>
<field name="attribute_id" ref="product_attribute_1"/>
<field name="value_ids" eval="[(6,0,[ref('product.product_attribute_value_1'), ref('product.product_attribute_value_2')])]"/>
</record>
<record id="product_product_11_product_template" model="product.template">
<field name="attribute_line_ids" eval="[(6,0,[ref('product.product_attribute_line_4')])]"/>
</record>
<record id="product_attribute_price_2" model="product.attribute.price">
<field name="product_tmpl_id" ref="product_product_11_product_template"/>
<field name="value_id" ref="product_attribute_value_2"/>
<field name="price_extra">6.40</field>
</record>
<!-- MRP Demo Data-->
<record id="product_product_12" model="product.product">
<field name="name">Mouse, Wireless</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">18</field>
<field name="list_price">12.50</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="default_code">M-Wir</field>
</record>
<record id="product_product_13" model="product.product">
<field name="name">RAM SR5</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">78.0</field>
<field name="list_price">85.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="default_code">RAM-SR5</field>
</record>
<record id="product_product_16" model="product.product">
<field name="name">Computer Case</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">20.0</field>
<field name="list_price">25.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="default_code">C-Case</field>
</record>
<record id="product_product_17" model="product.product">
<field name="name">HDD SH-1</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">860.0</field>
<field name="list_price">975.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="default_code">HDD-SH1</field>
</record>
<record id="product_product_20" model="product.product">
<field name="name">Motherboard I9P57</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">1700.0</field>
<field name="list_price">1950.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="default_code">MBi9</field>
</record>
<record id="product_product_22" model="product.product">
<field name="name">Processor Core i5 2.70 Ghz</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">2010.0</field>
<field name="list_price">2100.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="default_code">CPUi5</field>
</record>
<record id="product_product_24" model="product.product">
<field name="name">Graphics Card</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">876.0</field>
<field name="list_price">885.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="default_code">CARD</field>
</record>
<record id="product_product_25" model="product.product">
<field name="name">Laptop E5023</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">2870.0</field>
<field name="list_price">2950.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="description">17" Monitor, 4GB RAM&#xA;Standard-1294P Processor</field>
<field name="default_code">LAP-E5</field>
</record>
<record id="product_product_27" model="product.product">
<field name="name">Laptop Customized</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">3300.0</field>
<field name="list_price">3645.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="description">Custom Laptop based on customer's requirement.</field>
<field name="default_code">LAP-CUS</field>
</record>
<record id="consu_delivery_03" model="product.product">
<field name="name">Basic Computer</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">25000.0</field>
<field name="list_price">23500.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="description_sale">Dvorak keyboard&#xA;left-handed mouse</field>
<field name="default_code">CONS_DEL03</field>
</record>
<record id="consu_delivery_02" model="product.product">
<field name="name">Little server</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">45000.0</field>
<field name="list_price">40000.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="description_sale">raid 1, 512ECC ram</field>
<field name="default_code">CONS_DEL02</field>
</record>
<record id="consu_delivery_01" model="product.product">
<field name="name">Server</field>
<field name="categ_id" ref="product_category_5"/>
<field name="standard_price">65000.0</field>
<field name="list_price">60000.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="description_sale">raid 10, 2048ECC ram</field>
<field name="default_code">CONS_DEL01</field>
</record>
<!-- Membership products -->
<record id="membership_0" model="product.product">
<field name="name">Gold Membership</field>
<field name="list_price">180</field>
<field name="categ_id" ref="product.product_category_1"/>
<field name="type">service</field>
<field name="active" eval="False"/>
</record>
<record id="membership_1" model="product.product">
<field name="name">Silver Membership</field>
<field name="categ_id" ref="product.product_category_1"/>
<field name="list_price">80</field>
<field name="type">service</field>
<field name="active" eval="False"/>
</record>
<record id="membership_2" model="product.product">
<field name="name">Basic Membership</field>
<field name="categ_id" ref="product.product_category_1"/>
<field name="list_price">40</field>
<field name="type">service</field>
<field name="active" eval="False"/>
</record>
<!--
Resource: product.supplierinfo
-->
<record id="product_supplierinfo_1" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_product_6_product_template"/>
<field name="name" ref="base.res_partner_1"/>
<field name="delay">3</field>
<field name="min_qty">1</field>
<field name="price">750</field>
</record>
<record id="product_supplierinfo_2" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_product_6_product_template"/>
<field name="name" ref="base.res_partner_4"/>
<field name="delay">3</field>
<field name="min_qty">1</field>
<field name="price">790</field>
</record>
<record id="product_supplierinfo_2bis" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_product_6_product_template"/>
<field name="name" ref="base.res_partner_4"/>
<field name="delay">3</field>
<field name="min_qty">3</field>
<field name="price">785</field>
</record>
<record id="product_supplierinfo_3" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_product_7_product_template"/>
<field name="name" ref="base.res_partner_1"/>
<field name="delay">3</field>
<field name="min_qty">1</field>
<field name="price">65</field>
</record>
<record id="product_supplierinfo_4" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_product_7_product_template"/>
<field name="name" ref="base.res_partner_4"/>
<field name="delay">3</field>
<field name="min_qty">1</field>
<field name="price">72</field>
</record>
<record id="product_supplierinfo_5" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_product_8_product_template"/>
<field name="name" ref="base.res_partner_1"/>
<field name="delay">2</field>
<field name="min_qty">5</field>
<field name="price">1299</field>
</record>
<record id="product_supplierinfo_6" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_product_8_product_template"/>
<field name="name" ref="base.res_partner_12"/>
<field name="delay">4</field>
<field name="min_qty">1</field>
<field name="price">1399</field>
</record>
<record id="product_supplierinfo_7" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_product_10_product_template"/>
<field name="name" ref="base.res_partner_1"/>
<field name="delay">2</field>
<field name="min_qty">1</field>
<field name="price">12.50</field>
</record>
<record id="product_supplierinfo_8" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_product_11_product_template"/>
<field name="name" ref="base.res_partner_1"/>
<field name="delay">2</field>
<field name="min_qty">1</field>
<field name="price">14</field>
</record>
<record id="product_supplierinfo_9" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_product_13_product_template"/>
<field name="name" ref="base.res_partner_4"/>
<field name="delay">5</field>
<field name="min_qty">1</field>
<field name="price">78</field>
</record>
<record id="product_supplierinfo_10" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_product_16_product_template"/>
<field name="name" ref="base.res_partner_3"/>
<field name="delay">1</field>
<field name="min_qty">1</field>
<field name="price">20</field>
</record>
<record id="product_supplierinfo_11" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_product_17_product_template"/>
<field name="name" ref="base.res_partner_2"/>
<field name="delay">3</field>
<field name="min_qty">1</field>
<field name="price">860</field>
</record>
<record id="product_supplierinfo_12" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_product_20_product_template"/>
<field name="name" ref="base.res_partner_4"/>
<field name="delay">3</field>
<field name="min_qty">1</field>
<field name="price">1700</field>
</record>
<record id="product_supplierinfo_13" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_product_20_product_template"/>
<field name="name" ref="base.res_partner_1"/>
<field name="delay">4</field>
<field name="min_qty">5</field>
<field name="price">1720</field>
</record>
<record id="product_supplierinfo_14" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_product_22_product_template"/>
<field name="name" ref="base.res_partner_2"/>
<field name="delay">3</field>
<field name="min_qty">1</field>
<field name="price">2010</field>
</record>
<record id="product_supplierinfo_15" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_product_24_product_template"/>
<field name="name" ref="base.res_partner_2"/>
<field name="delay">3</field>
<field name="min_qty">1</field>
<field name="price">876</field>
</record>
<record id="product_supplierinfo_16" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_product_25_product_template"/>
<field name="name" ref="base.res_partner_1"/>
<field name="delay">8</field>
<field name="min_qty">1</field>
<field name="price">2870</field>
</record>
<record id="product_supplierinfo_17" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_delivery_02_product_template"/>
<field name="name" ref="base.res_partner_2"/>
<field name="delay">4</field>
<field name="min_qty">1</field>
<field name="price">390</field>
</record>
<record id="product_supplierinfo_18" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_delivery_01_product_template"/>
<field name="name" ref="base.res_partner_3"/>
<field name="delay">2</field>
<field name="min_qty">12</field>
<field name="price">90</field>
</record>
<record id="product_supplierinfo_19" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_delivery_01_product_template"/>
<field name="name" ref="base.res_partner_1"/>
<field name="delay">4</field>
<field name="min_qty">1</field>
<field name="price">66</field>
</record>
<record id="product_supplierinfo_20" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_delivery_02_product_template"/>
<field name="name" ref="base.res_partner_1"/>
<field name="delay">5</field>
<field name="min_qty">1</field>
<field name="price">35</field>
</record>
<record id="product_supplierinfo_21" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_delivery_01_product_template"/>
<field name="name" ref="base.res_partner_12"/>
<field name="delay">7</field>
<field name="min_qty">1</field>
<field name="price">55</field>
</record>
<record id="product_supplierinfo_22" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_product_9_product_template"/>
<field name="name" ref="base.res_partner_12"/>
<field name="delay">4</field>
<field name="min_qty">0</field>
<field name="price">10</field>
</record>
<record id="product_supplierinfo_23" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_product_27_product_template"/>
<field name="name" ref="base.res_partner_1"/>
<field name="delay">10</field>
<field name="min_qty">0</field>
<field name="price">3300</field>
</record>
<record id="product_supplierinfo_24" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_product_12_product_template"/>
<field name="name" ref="base.res_partner_1"/>
<field name="delay">3</field>
<field name="min_qty">0</field>
<field name="price">12.50</field>
</record>
<record id="product_supplierinfo_25" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product_product_12_product_template"/>
<field name="name" ref="base.res_partner_4"/>
<field name="delay">2</field>
<field name="min_qty">0</field>
<field name="price">13.50</field>
</record>
<record forcecreate="True" id="property_product_pricelist_demo" model="ir.property">
<field name="name">property_product_pricelist</field>
<field name="fields_id" search="[('model','=','res.partner'),('name','=','property_product_pricelist')]"/>
<field name="value" eval="'product.pricelist,'+str(ref('list0'))"/>
<field name="res_id" eval="'res.partner,'+str(ref('base.partner_demo'))"/>
<field name="company_id" ref="base.main_company"/>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,110 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="false">
<record id="product_product_1" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_1-image.jpg"/>
</record>
<record id="product_product_2" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_2-image.jpg"/>
</record>
<record id="product_product_3" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_3-image.jpg"/>
</record>
<record id="product_product_4" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_4-image.png"/>
</record>
<record id="product_product_5" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_5-image.jpg"/>
</record>
<record id="product_product_5b" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_5-image.png"/>
</record>
<record id="product_product_6" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_6-image.png"/>
</record>
<record id="product_product_7" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_7-image.png"/>
</record>
<record id="product_product_8" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_8-image.png"/>
</record>
<record id="product_product_9" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_9-image.png"/>
</record>
<record id="product_product_10" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_10-image.jpg"/>
</record>
<record id="product_product_11" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_11-image.png"/>
</record>
<record id="product_product_12" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_12-image.jpg"/>
</record>
<record id="product_product_13" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_13-image.jpg"/>
</record>
<record id="product_product_16" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_16-image.jpg"/>
</record>
<record id="product_product_17" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_17-image.jpg"/>
</record>
<record id="product_product_20" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_20-image.jpg"/>
</record>
<record id="product_product_22" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_22-image.jpg"/>
</record>
<record id="product_product_24" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_24-image.jpg"/>
</record>
<record id="product_product_25" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_25-image.jpg"/>
</record>
<record id="product_product_27" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_27-image.jpg"/>
</record>
<record id="product_order_01" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_43-image.jpg"/>
</record>
<record id="product_delivery_02" model="product.product">
<field name="image" type="base64" file="product/static/img/product_product_46-image.jpg"/>
</record>
<record id="membership_0" model="product.product">
<field name="image" type="base64" file="product/static/img/membership_0-image.jpg"/>
</record>
<record id="membership_1" model="product.product">
<field name="image" type="base64" file="product/static/img/membership_1-image.jpg"/>
</record>
<record id="membership_2" model="product.product">
<field name="image" type="base64" file="product/static/img/membership_2-image.jpg"/>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record model="res.bank" id="bank_ing">
<field name="name">ING</field>
<field name="bic">BBRUBEBB</field>
</record>
<record model="res.bank" id="bank_crelan">
<field name="name">Crelan</field>
<field name="bic">NICABEBB</field>
</record>
<record model="res.bank" id="bank_cbc">
<field name="name">CBC</field>
<field name="bic">CREGBEBB</field>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,251 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<!--
Resource: res.partner.category
-->
<record id="res_partner_category_0" model="res.partner.category">
<field name="name">Partner</field>
<field name="color" eval="1"/>
</record>
<record id="res_partner_category_1" model="res.partner.category">
<field name="name">Vendor</field>
<field name="color" eval="2"/>
</record>
<record id="res_partner_category_2" model="res.partner.category">
<field name="name">Prospect</field>
<field name="color" eval="3"/>
</record>
<record id="res_partner_category_3" model="res.partner.category">
<field name="name">Employee</field>
<field name="color" eval="4"/>
</record>
<record id="res_partner_category_4" model="res.partner.category">
<field name="name">Gold</field>
<field name="color" eval="2"/>
<field name="parent_id" ref="res_partner_category_0"/>
</record>
<record id="res_partner_category_5" model="res.partner.category">
<field name="name">Silver</field>
<field name="color" eval="3"/>
<field name="parent_id" ref="res_partner_category_0"/>
</record>
<record id="res_partner_category_6" model="res.partner.category">
<field name="name">Bronze</field>
<field name="color" eval="4"/>
<field name="parent_id" ref="res_partner_category_0"/>
</record>
<record id="res_partner_category_7" model="res.partner.category">
<field name="name">IT Services</field>
<field name="color" eval="5"/>
<field name="parent_id" ref="res_partner_category_0"/>
</record>
<record id="res_partner_category_8" model="res.partner.category">
<field name="name">Consultancy Services</field>
<field name="color" eval="5"/>
</record>
<record id="res_partner_category_9" model="res.partner.category">
<field name="name">Components Buyer</field>
<field name="color" eval="6"/>
</record>
<record id="res_partner_category_11" model="res.partner.category">
<field name="name">Services</field>
<field name="color" eval="7"/>
</record>
<record id="res_partner_category_12" model="res.partner.category">
<field name="name">Office Supplies</field>
<field name="color" eval="8"/>
</record>
<record id="res_partner_category_13" model="res.partner.category">
<field name="name">Distributor</field>
<field name="color" eval="9"/>
</record>
<record id="res_partner_category_14" model="res.partner.category">
<field name="name">Manufacturer</field>
<field name="color" eval="10"/>
</record>
<record id="res_partner_category_15" model="res.partner.category">
<field name="name">Wholesaler</field>
<field name="color" eval="1"/>
</record>
<record id="res_partner_category_16" model="res.partner.category">
<field name="name">Retailer</field>
<field name="color" eval="2"/>
</record>
<record id="res_partner_category_17" model="res.partner.category">
<field name="name">Company Contact</field>
<field name="color" eval="3"/>
</record>
<!--
Resource: res.partner
-->
<record id="res_partner_1" model="res.partner">
<field name="name">ASUSTeK</field>
<field eval="[(6, 0, [ref('res_partner_category_13'), ref('res_partner_category_12')])]" name="category_id"/>
<field name="supplier">1</field>
<field eval="0" name="customer"/>
<field name="is_company">1</field>
<field name="city">Taipei</field>
<field name="zip">106</field>
<field name="country_id" ref="base.tw"/>
<field name="street">31 Hong Kong street</field>
<field name="email">asusteK@yourcompany.example.com</field>
<field name="phone">(+886) (02) 4162 2023</field>
<field name="website">http://www.asustek.com</field>
<field name="image" type="base64" file="base/static/img/res_partner_1-image.jpg"/>
</record>
<record id="res_partner_2" model="res.partner">
<field name="name">Agrolait</field>
<field eval="[(6, 0, [ref('base.res_partner_category_7'), ref('base.res_partner_category_9')])]" name="category_id"/>
<field name="is_company">1</field>
<field name="city">Wavre</field>
<field name="zip">1300</field>
<field name="country_id" ref="base.be"/>
<field name="street">69 rue de Namur</field>
<field name="email">agrolait@yourcompany.example.com</field>
<field name="phone">+32 10 588 558</field>
<field name="website">http://www.agrolait.com</field>
<field name="image" type="base64" file="base/static/img/res_partner_2-image.jpg"/>
</record>
<record id="res_partner_3" model="res.partner">
<field name="name">China Export</field>
<field name="supplier">1</field>
<field eval="[(6, 0, [ref('res_partner_category_8'), ref('res_partner_category_14')])]" name="category_id"/>
<field name="is_company">1</field>
<field name="city">Shanghai</field>
<field name="zip">200000</field>
<field model="res.country" name="country_id" search="[('name','=','China')]"/>
<field name="country_id" ref="base.cn"/>
<field name="street">52 Chop Suey street</field>
<field name="email">chinaexport@yourcompany.example.com</field>
<field name="phone">+86 21 6484 5671</field>
<field name="website">http://www.chinaexport.com/</field>
<field name="image" type="base64" file="base/static/img/res_partner_3-image.png"/>
</record>
<record id="res_partner_4" model="res.partner">
<field name="name">Delta PC</field>
<field eval="[(6, 0, [ref('res_partner_category_13'), ref('res_partner_category_12')])]" name="category_id"/>
<field eval="0" name="customer"/>
<field eval="1" name="supplier"/>
<field name="is_company">1</field>
<field name="city">Fremont</field>
<field name="zip">94538</field>
<field name="country_id" ref="base.us"/>
<field model="res.country.state" name="state_id" search="[('code','ilike','ca')]"/>
<field name="street">3661 Station Street</field>
<field name="email">deltapc@yourcompany.example.com</field>
<field name="phone">+1 510 340 2385</field>
<field name="website">http://www.distribpc.com/</field>
<field name="image" type="base64" file="base/static/img/res_partner_4-image.png"/>
</record>
<record id="res_partner_10" model="res.partner">
<field name="name">The Jackson Group</field>
<field eval="[(6, 0, [ref('res_partner_category_4'), ref('res_partner_category_7')])]" name="category_id"/>
<field name="is_company">1</field>
<field name="city">Miami</field>
<field name="zip">33169</field>
<field name="country_id" ref="base.us"/>
<field model="res.country.state" name="state_id" search="[('code','=','FL')]"/>
<field name="email">jackson@yourcompany.example.com</field>
<field name="phone">+1 786 525 0724</field>
<field name="street">3203 Lamberts Branch Road</field>
<field name="image" type="base64" file="base/static/img/res_partner_10-image.jpg"/>
</record>
<record id="res_partner_12" model="res.partner">
<field name="name">Camptocamp</field>
<field eval="[(6, 0, [ref('res_partner_category_11'), ref('res_partner_category_4')])]" name="category_id"/>
<field name="supplier">1</field>
<field name="customer">1</field>
<field name="is_company">1</field>
<field name="city">Le Bourget du Lac</field>
<field name="zip">73377</field>
<field name="phone">+33 4 49 23 44 54</field>
<field name="country_id" ref="base.fr"/>
<field name="street">93, Press Avenue</field>
<field name="email">camptocamp@yourcompany.example.com</field>
<field name="website">http://www.camptocamp.com</field>
<field name="image" type="base64" file="base/static/img/res_partner_12-image.jpg"/>
</record>
<record id="res_partner_18" model="res.partner">
<field name="name">Think Big Systems</field>
<field name="is_company">1</field>
<field eval="[(6, 0, [ref('res_partner_category_5')])]" name="category_id"/>
<field name="city">London</field>
<field name="email">thinkbig@yourcompany.example.com</field>
<field name="phone">+1 857 349 3049</field>
<field name="country_id" ref="base.uk"/>
<field name="street">89 Lingfield Tower</field>
<field name="website">http://www.think-big.com</field>
<field name="image" type="base64" file="base/static/img/res_partner_18-image.png"/>
</record>
<record id="res_partner_address_1" model="res.partner">
<field name="name">Tang Tsui</field>
<field name="parent_id" eval="ref('res_partner_1')"/>
<field name="function">Service Manager</field>
<field name="email">tang@asustek.com</field>
<field name="supplier">1</field>
<field eval="0" name="customer"/>
</record>
<record id="res_partner_address_2" model="res.partner">
<field name="name">Joseph Walters</field>
<field name="parent_id" eval="ref('res_partner_1')"/>
<field name="function">Store Manager</field>
<field name="email">joseph.walters@asustek.com</field>
<field name="supplier">1</field>
<field eval="0" name="customer"/>
</record>
<record id="res_partner_address_7" model="res.partner">
<field name="name">Richard Ellis</field>
<field name="parent_id" eval="ref('res_partner_4')"/>
<field name="function">Production Supervisor</field>
<field name="email">richard.ellis@deltapc.example.com</field>
<field name="supplier">1</field>
<field eval="0" name="customer"/>
</record>
<record id="res_partner_address_12" model="res.partner">
<field name="name">James Miller</field>
<field name="parent_id" eval="ref('res_partner_1')"/>
<field name="function">Electrical Supervisor</field>
<field name="supplier">1</field>
<field eval="0" name="customer"/>
</record>
<record id="res_partner_address_31" model="res.partner">
<field name="name">Edward Foster</field>
<field name="parent_id" eval="ref('res_partner_2')"/>
<field name="function">Sales Representative</field>
<field name="email">efoster@seagate.com</field>
<field name="supplier">1</field>
<field eval="0" name="customer"/>
</record>
<record id="res_partner_address_27" model="res.partner">
<field name="name">Arthur Gomez</field>
<field name="parent_id" eval="ref('res_partner_1')"/>
<field name="function">Software Developer</field>
<field name="supplier">1</field>
<field eval="0" name="customer"/>
</record>
<record id="res_partner_address_26" model="res.partner">
<field name="name">Julia Rivero</field>
<field name="parent_id" eval="ref('res_partner_1')"/>
<field name="function">Technical Director</field>
<field name="supplier">1</field>
<field eval="0" name="customer"/>
</record>
<record id="res_partner_address_35" model="res.partner">
<field name="name">Peter Mitchell</field>
<field name="parent_id" eval="ref('res_partner_1')"/>
<field name="function">Store Manager</field>
<field name="supplier">1</field>
<field eval="0" name="customer"/>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,98 @@
<?xml version='1.0' encoding='utf-8'?>
<odoo>
<data noupdate="01>
<record id="base.res_partner_address_1" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_address_1-image.png"/>
</record>
<record id="base.res_partner_address_2" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_address_2-image.png"/>
</record>
<record id="base.res_partner_address_4" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_address_4-image.png"/>
</record>
<record id="base.res_partner_address_5" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_address_5-image.png"/>
</record>
<record id="base.res_partner_address_7" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_address_7-image.png"/>
</record>
<record id="base.res_partner_address_10" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_address_10-image.png"/>
</record>
<record id="base.res_partner_address_11" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_address_11-image.png"/>
</record>
<record id="base.res_partner_address_13" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_address_13-image.png"/>
</record>
<record id="base.res_partner_address_14" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_address_14-image.png"/>
</record>
<record id="base.res_partner_address_15" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_address_15-image.png"/>
</record>
<record id="base.res_partner_address_16" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_address_16-image.png"/>
</record>
<record id="base.res_partner_address_17" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_address_17-image.png"/>
</record>
<record id="base.res_partner_address_18" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_address_18-image.png"/>
</record>
<record id="base.res_partner_address_24" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_address_24-image.png"/>
</record>
<record id="base.res_partner_address_25" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_address_25-image.png"/>
</record>
<record id="base.res_partner_address_27" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_address_27-image.png"/>
</record>
<record id="base.res_partner_address_28" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_address_28-image.png"/>
</record>
<record id="base.res_partner_address_30" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_address_30-image.png"/>
</record>
<record id="base.res_partner_address_32" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_address_32-image.png"/>
</record>
<record id="base.res_partner_address_33" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_address_33-image.png"/>
</record>
<record id="base.res_partner_address_34" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_address_34-image.png"/>
</record>
<record id="base.res_partner_main1" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_main1-image.png"/>
</record>
<record id="base.res_partner_main2" model="res.partner">
<field name="image" type="base64" file="base/static/img/res_partner_main2-image.png"/>
</record>
</data>
</odoo>

55
app_base_chinese/hooks.py Normal file
View File

@@ -0,0 +1,55 @@
# -*- coding: utf-8 -*-
# Created on 2017-11-22
# author: 广州尚鹏https://www.sunpop.cn
# email: 300883@qq.com
# resource of Sunpop
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# Odoo在线中文用户手册长期更新
# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html
# Odoo10离线中文用户手册下载
# https://www.sunpop.cn/odoo10_user_manual_document_offline/
# Odoo10离线开发手册下载-含python教程jquery参考Jinja2模板PostgresSQL参考odoo开发必备
# https://www.sunpop.cn/odoo10_developer_document_offline/
# description:
from odoo import api, SUPERUSER_ID, _
def pre_init_hook(cr):
"""
数据初始化,只在安装时执行,更新时不执行
"""
pass
def post_init_hook(cr, registry):
"""
数据初始化,只在安装后执行,更新时不执行
"""
try:
env = api.Environment(cr, SUPERUSER_ID, {})
ids = env['product.category'].sudo().with_context(lang='zh_CN').search([
('parent_id', '!=', False)
], order='parent_path')
for rec in ids:
rec._compute_complete_name()
ids = env['stock.location'].sudo().with_context(lang='zh_CN').search([
('location_id', '!=', False),
('usage', '!=', 'views'),
], order='parent_path')
for rec in ids:
rec._compute_complete_name()
# 超级用户改时区为中国
ids = env['res.users'].sudo().with_context(lang='zh_CN').browse([1, 2])
ids.write({'tz': "Etc/GMT-8"})
except Exception as e:
raise Warning(e)
def uninstall_hook(cr, registry):
"""
数据初始化,卸载时执行
"""
pass

View File

@@ -0,0 +1,130 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * app_base_chinese
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-10 18:20+0000\n"
"PO-Revision-Date: 2020-04-10 18:20+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: app_base_chinese
#: model:ir.model.fields,field_description:app_base_chinese.field_account_tax_group__active
msgid "Active"
msgstr "激活"
#. module: app_base_chinese
#: model:ir.model,name:app_base_chinese.model_base
msgid "Base"
msgstr "基础"
#. module: app_base_chinese
#: model:ir.model.fields,field_description:app_base_chinese.field_product_category__complete_name
msgid "Complete Name"
msgstr "完整名称"
#. module: app_base_chinese
#: model:ir.model,name:app_base_chinese.model_res_partner
msgid "Contact"
msgstr "联系人"
#. module: app_base_chinese
#: model_terms:ir.ui.view,arch_db:app_base_chinese.app_res_partner_kanban_view
msgid "Credit"
msgstr "信用额:"
#. module: app_base_chinese
#: model:ir.model,name:app_base_chinese.model_res_currency
msgid "Currency"
msgstr "币种"
#. module: app_base_chinese
#: model:ir.model.fields,help:app_base_chinese.field_res_currency__sequence
msgid "Determine the display order. Sort ascending."
msgstr "决定显示顺序,数字越小排序越前"
#. module: app_base_chinese
#: model:ir.model.fields,field_description:app_base_chinese.field_res_partner__name_en_US
#: model:ir.model.fields,field_description:app_base_chinese.field_res_users__name_en_US
msgid "English Name"
msgstr "英文名"
#. module: app_base_chinese
#: model_terms:ir.ui.view,arch_db:app_base_chinese.app_view_sale_advance_payment_inv
msgid "FaPiao / Invoice Orders"
msgstr "创建收据/发票"
#. module: app_base_chinese
#: model:ir.model.fields,field_description:app_base_chinese.field_res_partner__fax
#: model:ir.model.fields,field_description:app_base_chinese.field_res_users__fax
msgid "Fax"
msgstr "传真"
#. module: app_base_chinese
#: model:ir.model.fields,field_description:app_base_chinese.field_stock_location__complete_name
msgid "Full Location Name"
msgstr "完整的位置名称"
#. module: app_base_chinese
#: model:ir.model,name:app_base_chinese.model_stock_location
msgid "Inventory Locations"
msgstr "库存位置"
#. module: app_base_chinese
#: model_terms:ir.ui.view,arch_db:app_base_chinese.app_view_order_form
msgid "Invoices/FaPiao"
msgstr "收据/发票"
#. module: app_base_chinese
#: model_terms:ir.ui.view,arch_db:app_base_chinese.app_view_order_form
msgid "Make Collections"
msgstr "收款"
#. module: app_base_chinese
#: model:ir.model.fields,field_description:app_base_chinese.field_res_partner__name
#: model:ir.model.fields,field_description:app_base_chinese.field_res_users__name
msgid "Name"
msgstr "名称"
#. module: app_base_chinese
#: model_terms:ir.ui.view,arch_db:app_base_chinese.app_view_move_form
msgid "Post Entry"
msgstr "过帐"
#. module: app_base_chinese
#: model:ir.model,name:app_base_chinese.model_product_category
msgid "Product Category"
msgstr "品类"
#. module: app_base_chinese
#: model:ir.model.fields,field_description:app_base_chinese.field_res_currency__sequence
msgid "Sequence"
msgstr "排序"
#. module: app_base_chinese
#: model:ir.model.fields,help:app_base_chinese.field_account_tax_group__active
msgid "Set active to false to hide the tax without removing it."
msgstr "请不要删除指定税率,可以将其归档。"
#. module: app_base_chinese
#: model:ir.model.fields,field_description:app_base_chinese.field_res_partner__short_name
#: model:ir.model.fields,field_description:app_base_chinese.field_res_users__short_name
msgid "Short Name"
msgstr "简称"
#. module: app_base_chinese
#: model:ir.model,name:app_base_chinese.model_account_tax_group
msgid "Tax Group"
msgstr "税组"
#. module: app_base_chinese
#: model:ir.sequence,name:app_base_chinese.sequence_product_category_normal
msgid "产品目录常规编号规则"
msgstr ""

View File

@@ -0,0 +1 @@
# -*- coding: utf-8 -*-

View File

@@ -0,0 +1,10 @@
# -*- coding: utf-8 -*-
from . import res_partner
from . import res_currency
from . import product_category
from . import stock_location
from . import account_tax_group

View 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.")

View File

@@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-
import logging
from odoo import api, fields, models, _
_logger = logging.getLogger(__name__)
class ProductCategory(models.Model):
_inherit = "product.category"
complete_name = fields.Char(
'Complete Name', compute='_compute_complete_name',
store=True, translate=True)

View File

@@ -0,0 +1,17 @@
# -*- coding: utf-8 -*-
from odoo import api, models, fields, _
from odoo.exceptions import UserError, ValidationError
class ResCompany(models.Model):
_inherit = 'res.company'
short_name = fields.Char('Short Name', related='partner_id.short_name', readonly=False)
# 当传参 show_short_company 时,只显示简称
def name_get(self):
if self._context.get('show_short_company'):
return [(value.id, "%s" % (value.short_name if value.short_name else value.name)) for value in self]
else:
return super().name_get()

View File

@@ -0,0 +1,11 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class Country(models.Model):
_inherit = 'res.country'
_order = 'sequence,name'
sequence = fields.Integer('Sequence', help="Determine the display order", default=99)

View File

@@ -0,0 +1,53 @@
# -*- coding: utf-8 -*-
from odoo import api, fields, models
class ResCurrency(models.Model):
_inherit = 'res.currency'
_order = 'active desc, sequence, name'
sequence = fields.Integer('Sequence', default=10, help="Determine the display order. Sort ascending.")
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 = list(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)

View File

@@ -0,0 +1,33 @@
# -*- coding: utf-8 -*-
from odoo import api, models, fields, _
from odoo.exceptions import UserError, ValidationError
class ResPartner(models.Model):
_inherit = 'res.partner'
name = fields.Char(index=True, translate=True)
short_name = fields.Char('Short Name') # 简称
fax = fields.Char('Fax') # 简称
# 增加地址显示中的手机号与电话号码
# 选项 show_address 开启则增加显示手机与电话号
def _get_name(self):
name = super(ResPartner, self)._get_name() or ''
partner = self
if self._context.get('show_address'):
if partner.mobile and partner.phone:
name = name + "\n" + partner.mobile + "," + partner.phone
elif partner.mobile:
name = name + "\n" + partner.mobile
elif partner.phone:
name = name + "\n" + partner.phone
return name
@api.model_create_multi
def create(self, vals_list):
for values in vals_list:
if 'lang' not in values:
values['lang'] = 'zh_CN'
return super(ResPartner, self).create(vals_list)

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
import logging
from odoo import api, fields, models, _
_logger = logging.getLogger(__name__)
class Location(models.Model):
_inherit = "stock.location"
complete_name = fields.Char("Full Location Name", compute='_compute_complete_name', store=True, translate=True)

View File

@@ -0,0 +1,2 @@
# -*- coding: utf-8 -*-

View File

@@ -0,0 +1 @@
# -*- coding: utf-8 -*-

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

View File

@@ -0,0 +1,96 @@
<section class="oe_container">
<div class="oe_row oe_spaced" >
<div class="oe_span12">
<h2 class="oe_slogan">App base chinese. Local customize for china user </h2>
<h3 class="oe_slogan">Set all chinese default value. Like Default country, timezone, currency, partner... </h3>
<div class="oe_row">
<h3>Lastest update: v13.20.04.11</h3>
<div class="oe_span12">
<img class="oe_demo oe_screenshot" src="banner.jpg">
</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>
Chinese feature enhance.
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Set Default country, state, timezone, currency.
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Set partner to chinese format.
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Fix Category Display not in english bug.
</li>
</ul>
</div>
</div>
<div class="oe_span12">
<img class="oe_demo oe_screenshot" src="cnreadme.jpg">
</div>
</div>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">Set Default country, state, timezone, currency.</h4>
<div class="oe_demo oe_screenshot">
<img src="demo1.jpg">
</div>
<div class="oe_demo oe_screenshot">
<img src="demo2.jpg">
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">Fix Category Display not in english bug.</h4>
<div class="oe_demo oe_screenshot">
<img src="demo3.jpg">
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced text-center">
<div class="oe_span12">
<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:guohuadeng@hotmail.com"><span
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
<i class="fa fa-envelope"></i> guohuadeng@hotmail.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.sunpop.cn</h4>
</div>
</div>
</div>
<div class="oe_row oe_spaced text-center">
<h1>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=Sunpop.cn">Supop.cn Odoo Addons</a>
</h1>
</div>
</section>

View File

@@ -0,0 +1,26 @@
.o_form_view .o_address_format {
.o_address_country {
display: -webkit-inline-flex;
display: inline-flex;
width: 48%;
margin-right: 2%;
}
}
.o_form_view.o_form_editable .o_address_format {
div.o_address_state {
width: 50%;
margin-right: 0;
}
.o_address_city{
width: 48%;
margin-right: 2%;
}
.o_address_city_id{
width: 48%;
margin-right: 2%;
}
input.o_address_zip{
width: 50%;
margin-right: 0;
}
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<!--改search中英文-->
<t t-extend="SearchPanel.Category">
<t t-jquery="div.alert" t-operation="replace">
<div t-if="category.limitAttained" class="alert alert-warning">
<span>性能原因,只支持 200 条记录的显示</span>
<span t-if="category.parentField">记录没有树状结构</span>
</div>
</t>
</t>
</templates>

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<!-- VIEWS -->
<record id="app_view_move_form" model="ir.ui.view">
<field name="name">app.account.move.form</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_form"/>
<field name="arch" type="xml">
<!-- 过帐操作-->
<xpath expr="//header//button[@name='action_post']" position="attributes">
<attribute name="string">Post Entry</attribute>
</xpath>
</field>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<!-- currency视图, tree -->
<record id="app_view_currency_tree" model="ir.ui.view">
<field name="name">app.res.currency.tree</field>
<field name="model">res.currency</field>
<field name="inherit_id" ref="base.view_currency_tree"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='name']" position="before">
<field name="sequence" widget="handle"/>
</xpath>
</field>
</record>
<!-- currency视图, form -->
<record id="app_view_currency_form" model="ir.ui.view">
<field name="name">app.res.currency.form</field>
<field name="model">res.currency</field>
<field name="inherit_id" ref="base.view_currency_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='position']" position="after">
<field name="sequence"/>
</xpath>
</field>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="app_view_company_tree" model="ir.ui.view">
<field name="name">app.res.company.form</field>
<field name="model">res.company</field>
<field name="inherit_id" ref="base.view_company_tree"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='name']" position="after">
<field name="short_name"/>
</xpath>
</field>
</record>
<record id="app_view_company_form" model="ir.ui.view">
<field name="name">app.res.company.form</field>
<field name="model">res.company</field>
<field name="inherit_id" ref="base.view_company_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='phone']" position="before">
<field name='short_name'/>
</xpath>
</field>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<!-- currency视图, tree -->
<record id="app_ir_default_tree_view" model="ir.ui.view">
<field name="name">app.ir.default tree view</field>
<field name="model">ir.default</field>
<field name="inherit_id" ref="base.ir_default_tree_view"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='json_value']" position="after">
<field name="condition"/>
</xpath>
</field>
</record>
<!-- currency视图, form -->
<record id="app_ir_default_form_view" model="ir.ui.view">
<field name="name">app.ir.default form view</field>
<field name="model">ir.default</field>
<field name="inherit_id" ref="base.ir_default_form_view"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='json_value']" position="after">
<field name="condition"/>
</xpath>
</field>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,171 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<!-- Partner Form视图用继承方式改写2018-11-21,ivan -->
<record id="app_view_partner_form" model="ir.ui.view">
<field name="name">app.res.partner.form</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<!-- 客户编号设计在重要位置,放到 app_partner_auto_reference -->
<!--<xpath expr="//field[@name='type']" position="after">-->
<!--<xpath expr="//field[@name='ref']" position="move"/>-->
<!--</xpath>-->
<xpath expr="//field[@name='type']" position="after">
<field name="short_name"/>
</xpath>
<!-- 信用额度 -->
<xpath expr="//field[@name='category_id']" position="after">
<field name="credit_limit"/>
</xpath>
<!--res.partner客户 地址中国化 -->
<xpath expr="//field[@name='street']" position="before">
<xpath expr="//field[@name='country_id']" position="move"/>
</xpath>
<xpath expr="//field[@name='street']" position="before">
<xpath expr="//field[@name='state_id']" position="move"/>
</xpath>
<xpath expr="//field[@name='street']" position="before">
<xpath expr="//field[@name='city']" position="move"/>
</xpath>
<xpath expr="//field[@name='street']" position="before">
<xpath expr="//field[@name='zip']" position="move"/>
</xpath>
<!-- res.partner联系人 form -->
<!--联系人,如果是个人类型,不允许其下再有联系人-->
<!--调整,电商情况,一个人有多个地址-->
<!-- <xpath expr="//notebook/page[1]" position="attributes">-->
<!-- <attribute name="attrs">{'invisible': [('is_company','!=', True)]}</attribute>-->
<!-- </xpath>-->
<!-- 所有类型联系人都要填姓名 -->
<xpath expr="//page//field[@name='child_ids']//form[1]//field[@name='name']" position="attributes">
<attribute name="required">1</attribute>
</xpath>
<!-- 联系人也显示地址,中国格式 -->
<!--res.partner客户 地址中国化 -->
<xpath expr="//field[@name='child_ids']//form[1]//field[@name='street']" position="before">
<xpath expr="//field[@name='child_ids']//form[1]//field[@name='country_id']" position="move"/>
</xpath>
<xpath expr="//field[@name='child_ids']//form[1]//field[@name='street']" position="before">
<xpath expr="//field[@name='child_ids']//form[1]//field[@name='state_id']" position="move"/>
</xpath>
<xpath expr="//field[@name='child_ids']//form[1]//field[@name='street']" position="before">
<xpath expr="//field[@name='child_ids']//form[1]//field[@name='city']" position="move"/>
</xpath>
<xpath expr="//field[@name='child_ids']//form[1]//field[@name='street']" position="before">
<xpath expr="//field[@name='child_ids']//form[1]//field[@name='zip']" position="move"/>
</xpath>
<xpath expr="//field[@name='child_ids']//form[1]//field[@name='email']" position="before">
<field name="category_id" widget="many2many_tags"/>
</xpath>
<!-- res.partner联系人 kanban -->
<!-- 显示类型和地址等 -->
<xpath expr="//field[@name='child_ids']//kanban[1]//templates//field[@name='name']" position="before">
<t t-if="record.ref and record.ref.raw_value">[<field name="ref"/>]</t>
</xpath>
<xpath expr="//field[@name='child_ids']//kanban[1]//templates//field[@name='name']" position="after">
<div t-if="record.type and record.type.raw_value"><field name="type"/></div>
<div t-if="record.category_id and record.category_id.raw_value"><field name="category_id" widget="many2many_tags"/></div>
</xpath>
</field>
</record>
<!--res.partner open地址中国化 -->
<record id="app_view_partner_address_form" model="ir.ui.view">
<field name="name">app.res.partner.form.address</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_address_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='street']" position="before">
<xpath expr="//field[@name='country_id']" position="move"/>
</xpath>
<xpath expr="//field[@name='street']" position="before">
<xpath expr="//field[@name='state_id']" position="move"/>
</xpath>
<xpath expr="//field[@name='street']" position="before">
<xpath expr="//field[@name='city']" position="move"/>
</xpath>
<xpath expr="//field[@name='street']" position="before">
<xpath expr="//field[@name='zip']" position="move"/>
</xpath>
<xpath expr="//field[@name='website']" position="after">
<field name="category_id" widget="many2many_tags"/>
</xpath>
</field>
</record>
<!--res.partner open地址中国化 -->
<record id="app_view_partner_short_form" model="ir.ui.view">
<field name="name">app.res.partner.form</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_short_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='street']" position="before">
<xpath expr="//field[@name='country_id']" position="move"/>
</xpath>
<xpath expr="//field[@name='street']" position="before">
<xpath expr="//field[@name='state_id']" position="move"/>
</xpath>
<xpath expr="//field[@name='street']" position="before">
<xpath expr="//field[@name='city']" position="move"/>
</xpath>
<xpath expr="//field[@name='street']" position="before">
<xpath expr="//field[@name='zip']" position="move"/>
</xpath>
</field>
</record>
<!--res.partner 私人地址中国化 -->
<record id="app_res_partner_view_form_private" model="ir.ui.view">
<field name="name">app.res.partner.view.form.private</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.res_partner_view_form_private"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='street']" position="before">
<xpath expr="//field[@name='country_id']" position="move"/>
</xpath>
<xpath expr="//field[@name='street']" position="before">
<xpath expr="//field[@name='state_id']" position="move"/>
</xpath>
<xpath expr="//field[@name='street']" position="before">
<xpath expr="//field[@name='city']" position="move"/>
</xpath>
<xpath expr="//field[@name='street']" position="before">
<xpath expr="//field[@name='zip']" position="move"/>
</xpath>
</field>
</record>
<record id="app_view_partner_tree" model="ir.ui.view">
<field name="name">app.res.partner.tree</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_tree"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='email']" position="after">
<field name="category_id" widget="many2many_tags" optional="show"/>
</xpath>
</field>
</record>
<!--Partner kanban 视图用继承方式改写2017-11-23,ivan-->
<record id="app_res_partner_kanban_view" model="ir.ui.view">
<field name="name">app.res.partner.kanban</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.res_partner_kanban_view"/>
<field name="arch" type="xml">
<xpath expr="//templates" position="before">
<field name="credit_limit"/>
</xpath>
<xpath expr="//div[hasclass('oe_kanban_details')]/ul" position="inside">
<li t-if="record.credit_limit and record.credit_limit.raw_value">
Credit<field name="credit_limit"/>
</li>
</xpath>
</field>
</record>
<!--end客户-->
<!-- 为供应商菜单单独增加筛选器 2017-11-13 -->
<!--end供应商-->
<!-- 所有合作伙伴 2017-11-13 -->
</data>
</odoo>

View File

@@ -0,0 +1,24 @@
<odoo>
<data>
<!-- 改收款相关操作显示 -->
<record id="app_view_order_form" model="ir.ui.view">
<field name="name">app.sale.order.form</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<!-- 全款操作-->
<xpath expr="//header//button[@name='%(sale.action_view_sale_advance_payment_inv)d'][1]" position="attributes">
<attribute name="string">Make Collections</attribute>
</xpath>
<!-- 尾款操作-->
<xpath expr="//header//button[@name='%(sale.action_view_sale_advance_payment_inv)d'][1]" position="attributes">
<attribute name="string">Make Collections</attribute>
</xpath>
<!-- 查看收据列表-->
<xpath expr="//div[hasclass('oe_button_box')]//field[@name='invoice_count']" position="attributes">
<attribute name="string">Invoices/FaPiao</attribute>
</xpath>
</field>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="_assets_backend" name="app_base_chinese assets backend" inherit_id="web.assets_backend">
<xpath expr="//link[last()]" position="after">
<link rel="stylesheet" type="text/scss" href="/app_base_chinese/static/src/scss/app_style.scss"/>
</xpath>
</template>
</odoo>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="sale.view_sale_advance_payment_inv" model="ir.ui.view">
<field name="name">FaPiao / Invoice Orders</field>
</record>
<record id="app_view_sale_advance_payment_inv" model="ir.ui.view">
<field name="name">app.account.move.form</field>
<field name="model">sale.advance.payment.inv</field>
<field name="inherit_id" ref="sale.view_sale_advance_payment_inv"/>
<field name="arch" type="xml">
<xpath expr="//form" position="attributes">
<attribute name="string">FaPiao / Invoice Orders</attribute>
</xpath>
</field>
</record>
<record id="sale.action_view_sale_advance_payment_inv" model="ir.actions.act_window">
<field name="name">Create FaPiao / Invoice</field>
</record>
</odoo>

View 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.sunpop.cn
from .hooks import pre_init_hook
from .hooks import post_init_hook
from . import models

View File

@@ -0,0 +1,71 @@
# -*- 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.sunpop.cn
{
'name': '2022最新中国企业会计表.Latest Chinese Accounting.',
'version': '15.21.11.11',
'author': 'Sunpop.cn',
'category': 'Accounting/Localizations/Account Charts',
'website': 'https://www.sunpop.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. 2022最新会计科目表处理营改增后会计科目调整。更新至最新税率。odoo 15专用。
2. 将菜单中设置为"财务"
3. 补充分类及标签信息。
4. 更新税信息。
5. 增加树状结构,支持二级科目,可设置上级科目,配合 "app_web_superbar" 使用可轻易实现树状导航。
6. 使用金蝶的会计科目命名法对多级科目进行初始化。可自行调整为用友科目命名法
7. 注意,必须在没有业务数据,没有会计科目的初始环境。可以使用 "app_odoo_customize" 模块清除财务数据,重置会计科目。
如果是多语种环境需要自行更改翻译主要体现在3%,6%,13%增值税处理。
广州尚鹏Sunpop.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,
}

View File

@@ -0,0 +1,179 @@
id,code,name,parent_id/id,reconcile,user_type_id/id,tag_ids/id,chart_template_id/id
account_1001,1001,库存现金,,TRUE,account.data_account_type_liquidity,,l10n_chart_china_standard_business_latest
account_1002,1002,银行存款,,TRUE,account.data_account_type_liquidity,tag21,l10n_chart_china_standard_business_latest
account_1003,1003,存放中央银行款项,,TRUE,account.data_account_type_current_assets,tag21,l10n_chart_china_standard_business_latest
account_1011,1011,存放同业,,FALSE,account.data_account_type_current_assets,tag21,l10n_chart_china_standard_business_latest
account_1012,1012,其他货币资金,,FALSE,account.data_account_type_current_assets,,l10n_chart_china_standard_business_latest
account_1021,1021,结算备付金,,FALSE,account.data_account_type_current_assets,tag22,l10n_chart_china_standard_business_latest
account_1031,1031,存出保证金,,FALSE,account.data_account_type_current_assets,tag23,l10n_chart_china_standard_business_latest
account_1101,1101,交易性金融资产,,FALSE,account.data_account_type_current_assets,,l10n_chart_china_standard_business_latest
account_1111,1111,买入返售金融资产,,FALSE,account.data_account_type_current_assets,tag23,l10n_chart_china_standard_business_latest
account_1121,1121,应收票据,,TRUE,account.data_account_type_receivable,,l10n_chart_china_standard_business_latest
account_1122,1122,应收账款,,TRUE,account.data_account_type_receivable,,l10n_chart_china_standard_business_latest
account_1123,1123,预付账款,,TRUE,account.data_account_type_receivable,,l10n_chart_china_standard_business_latest
account_1124,1124,应收账款(PoS),,TRUE,account.data_account_type_receivable,,l10n_chart_china_standard_business_latest
account_1131,1131,应收股利,,TRUE,account.data_account_type_receivable,,l10n_chart_china_standard_business_latest
account_1132,1132,应收利息,,TRUE,account.data_account_type_receivable,,l10n_chart_china_standard_business_latest
account_1201,1201,应收代位追偿款,,FALSE,account.data_account_type_current_assets,tag24,l10n_chart_china_standard_business_latest
account_1211,1211,应收分保账款,,FALSE,account.data_account_type_current_assets,tag24,l10n_chart_china_standard_business_latest
account_1212,1212,应收分保合同准备金,,FALSE,account.data_account_type_current_assets,tag24,l10n_chart_china_standard_business_latest
account_1221,1221,其他应收款,,FALSE,account.data_account_type_current_assets,,l10n_chart_china_standard_business_latest
account_1231,1231,坏账准备,,FALSE,account.data_account_type_current_assets,,l10n_chart_china_standard_business_latest
account_1301,1301,贴现资产,,FALSE,account.data_account_type_current_assets,tag21,l10n_chart_china_standard_business_latest
account_1302,1302,拆出资金,,FALSE,account.data_account_type_current_assets,,l10n_chart_china_standard_business_latest
account_1303,1303,贷款,,FALSE,account.data_account_type_current_assets,tag25,l10n_chart_china_standard_business_latest
account_1304,1304,贷款损失准备,,FALSE,account.data_account_type_current_assets,tag25,l10n_chart_china_standard_business_latest
account_1311,1311,代理兑付证券,,FALSE,account.data_account_type_current_assets,tag29,l10n_chart_china_standard_business_latest
account_1321,1321,代理业务资产,,FALSE,account.data_account_type_current_assets,,l10n_chart_china_standard_business_latest
account_1401,1401,材料采购,,FALSE,account.data_account_type_current_assets,,l10n_chart_china_standard_business_latest
account_1402,1402,在途物资,,FALSE,account.data_account_type_current_assets,,l10n_chart_china_standard_business_latest
account_1403,1403,原材料,,FALSE,account.data_account_type_current_assets,,l10n_chart_china_standard_business_latest
account_1404,1404,材料成本差异,,FALSE,account.data_account_type_current_assets,,l10n_chart_china_standard_business_latest
account_1405,1405,库存商品,,FALSE,account.data_account_type_current_assets,,l10n_chart_china_standard_business_latest
account_1406,1406,发出商品,,FALSE,account.data_account_type_current_assets,,l10n_chart_china_standard_business_latest
account_1407,1407,商品进销差价,,FALSE,account.data_account_type_current_assets,,l10n_chart_china_standard_business_latest
account_1408,1408,委托加工物资,,FALSE,account.data_account_type_current_assets,,l10n_chart_china_standard_business_latest
account_1411,1411,周转材料,,FALSE,account.data_account_type_non_current_assets,,l10n_chart_china_standard_business_latest
account_1421,1421,消耗性生物资产,,FALSE,account.data_account_type_non_current_assets,tag26,l10n_chart_china_standard_business_latest
account_1431,1431,贵金属,,FALSE,account.data_account_type_non_current_assets,tag21,l10n_chart_china_standard_business_latest
account_1441,1441,抵债资产,,FALSE,account.data_account_type_non_current_assets,tag23,l10n_chart_china_standard_business_latest
account_1451,1451,损余物资,,FALSE,account.data_account_type_non_current_assets,tag24,l10n_chart_china_standard_business_latest
account_1461,1461,融资租赁资产,,FALSE,account.data_account_type_non_current_assets,tag27,l10n_chart_china_standard_business_latest
account_1471,1471,存货跌价准备,,FALSE,account.data_account_type_non_current_assets,,l10n_chart_china_standard_business_latest
account_1501,1501,持有至到期投资,,FALSE,account.data_account_type_non_current_assets,,l10n_chart_china_standard_business_latest
account_1502,1502,持有至到期投资减值准备,,FALSE,account.data_account_type_non_current_assets,,l10n_chart_china_standard_business_latest
account_1503,1503,可供出售金融资产,,FALSE,account.data_account_type_non_current_assets,,l10n_chart_china_standard_business_latest
account_1511,1511,长期股权投资,,FALSE,account.data_account_type_non_current_assets,,l10n_chart_china_standard_business_latest
account_1512,1512,长期股权投资减值准备,,FALSE,account.data_account_type_non_current_assets,,l10n_chart_china_standard_business_latest
account_1521,1521,投资性房地产,,FALSE,account.data_account_type_non_current_assets,,l10n_chart_china_standard_business_latest
account_1531,1531,长期应收款,,FALSE,account.data_account_type_non_current_assets,,l10n_chart_china_standard_business_latest
account_1532,1532,未实现融资收益,,FALSE,account.data_account_type_non_current_assets,,l10n_chart_china_standard_business_latest
account_1541,1541,存出资本保证金,,FALSE,account.data_account_type_non_current_assets,tag24,l10n_chart_china_standard_business_latest
account_1601,1601,固定资产,,FALSE,account.data_account_type_fixed_assets,,l10n_chart_china_standard_business_latest
account_1602,1602,累计折旧,,FALSE,account.data_account_type_fixed_assets,,l10n_chart_china_standard_business_latest
account_1603,1603,固定资产减值准备,,FALSE,account.data_account_type_fixed_assets,,l10n_chart_china_standard_business_latest
account_1604,1604,在建工程,,FALSE,account.data_account_type_fixed_assets,,l10n_chart_china_standard_business_latest
account_1605,1605,工程物资,,FALSE,account.data_account_type_fixed_assets,,l10n_chart_china_standard_business_latest
account_1606,1606,固定资产清理,,FALSE,account.data_account_type_fixed_assets,,l10n_chart_china_standard_business_latest
account_1611,1611,未担保余值,,FALSE,account.data_account_type_current_assets,tag27,l10n_chart_china_standard_business_latest
account_1621,1621,生产性生物资产,,FALSE,account.data_account_type_current_assets,tag26,l10n_chart_china_standard_business_latest
account_1622,1622,生产性生物资产累计折旧,,FALSE,account.data_account_type_current_assets,tag26,l10n_chart_china_standard_business_latest
account_1623,1623,公益性生物资产,,FALSE,account.data_account_type_current_assets,tag26,l10n_chart_china_standard_business_latest
account_1631,1631,油气资产,,FALSE,account.data_account_type_current_assets,tag28,l10n_chart_china_standard_business_latest
account_1632,1632,累计折耗,,FALSE,account.data_account_type_current_assets,tag28,l10n_chart_china_standard_business_latest
account_1701,1701,无形资产,,FALSE,account.data_account_type_current_assets,,l10n_chart_china_standard_business_latest
account_1702,1702,累计摊销,,FALSE,account.data_account_type_current_assets,,l10n_chart_china_standard_business_latest
account_1703,1703,无形资产减值准备,,FALSE,account.data_account_type_current_assets,,l10n_chart_china_standard_business_latest
account_1711,1711,商誉,,FALSE,account.data_account_type_current_assets,,l10n_chart_china_standard_business_latest
account_1801,1801,长期待摊费用,,FALSE,account.data_account_type_current_assets,,l10n_chart_china_standard_business_latest
account_1811,1811,递延所得税资产,,FALSE,account.data_account_type_current_assets,,l10n_chart_china_standard_business_latest
account_1821,1821,独立账户资产,,FALSE,account.data_account_type_current_assets,tag24,l10n_chart_china_standard_business_latest
account_1901,1901,待处理财产损溢,,FALSE,account.data_account_type_current_assets,,l10n_chart_china_standard_business_latest
account_2001,2001,短期借款,,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2002,2002,存入保证金,,FALSE,account.data_account_type_current_liabilities,tag23,l10n_chart_china_standard_business_latest
account_2003,2003,拆入资金,,FALSE,account.data_account_type_current_liabilities,tag23,l10n_chart_china_standard_business_latest
account_2004,2004,向中央银行借款,,FALSE,account.data_account_type_current_liabilities,tag21,l10n_chart_china_standard_business_latest
account_2011,2011,吸收存款,,FALSE,account.data_account_type_current_liabilities,tag21,l10n_chart_china_standard_business_latest
account_2012,2012,同业存放,,FALSE,account.data_account_type_current_liabilities,tag21,l10n_chart_china_standard_business_latest
account_2021,2021,贴现负债,,FALSE,account.data_account_type_current_liabilities,tag21,l10n_chart_china_standard_business_latest
account_2101,2101,交易性金融负债,,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2111,2111,卖出回购金融资产款,,FALSE,account.data_account_type_current_liabilities,tag23,l10n_chart_china_standard_business_latest
account_2201,2201,应付票据,,TRUE,account.data_account_type_payable,,l10n_chart_china_standard_business_latest
account_2202,2202,应付账款,,TRUE,account.data_account_type_payable,,l10n_chart_china_standard_business_latest
account_2203,2203,预收账款,,TRUE,account.data_account_type_payable,,l10n_chart_china_standard_business_latest
account_2211,2211,应付职工薪酬,,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221,2221,应交税费,,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221_1,2221.01,应交增值税,account_2221,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221_1_1,2221.01.01,进项税额,account_2221_1,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221_1_2,2221.01.02,已交税金,account_2221_1,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221_1_3,2221.01.03,转出未交增值税,account_2221_1,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221_1_4,2221.01.04,减免税款,account_2221_1,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221_1_5,2221.01.05,销项税额,account_2221_1,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221_1_6,2221.01.06,出口退税,account_2221_1,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221_1_7,2221.01.07,进项税额转出,account_2221_1,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221_1_8,2221.01.08,出口抵减内销产品应纳税额,account_2221_1,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221_1_9,2221.01.09,转出多交增值税,account_2221_1,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221_2,2221.02,未交增值税,account_2221,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221_3,2221.03,应交营业税,account_2221,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221_4,2221.04,应交消费税,account_2221,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221_5,2221.05,应交资源税,account_2221,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221_6,2221.06,应交所得税,account_2221,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221_7,2221.07,应交土地增值税,account_2221,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221_8,2221.08,应交城市维护建设税,account_2221,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221_9,2221.09,应交房产税,account_2221,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221_10,2221.10,应交土地使用税,account_2221,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221_11,2221.11,应交车船使用税,account_2221,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2221_12,2221.12,应交个人所得税,account_2221,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2231,2231,应付利息,,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2232,2232,应付股利,,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2241,2241,其他应付款,,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2251,2251,应付保单红利,,FALSE,account.data_account_type_current_liabilities,tag24,l10n_chart_china_standard_business_latest
account_2261,2261,应付分保账款,,FALSE,account.data_account_type_current_liabilities,tag24,l10n_chart_china_standard_business_latest
account_2311,2311,代理买卖证券款,,FALSE,account.data_account_type_current_liabilities,tag22,l10n_chart_china_standard_business_latest
account_2312,2312,代理承销证券款,,FALSE,account.data_account_type_current_liabilities,tag29,l10n_chart_china_standard_business_latest
account_2313,2313,代理兑付证券款,,FALSE,account.data_account_type_current_liabilities,tag29,l10n_chart_china_standard_business_latest
account_2314,2314,代理业务负债,,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2401,2401,递延收益,,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2501,2501,长期借款,,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2502,2502,应付债券,,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2601,2601,未到期责任准备金,,FALSE,account.data_account_type_current_liabilities,tag24,l10n_chart_china_standard_business_latest
account_2602,2602,保险责任准备金,,FALSE,account.data_account_type_current_liabilities,tag24,l10n_chart_china_standard_business_latest
account_2611,2611,保户储金,,FALSE,account.data_account_type_current_liabilities,tag24,l10n_chart_china_standard_business_latest
account_2621,2621,独立账户负债,,FALSE,account.data_account_type_current_liabilities,tag24,l10n_chart_china_standard_business_latest
account_2701,2701,长期应付款,,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2702,2702,未确认融资费用,,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2711,2711,专项应付款,,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2801,2801,预计负债,,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_2901,2901,递延所得税负债,,FALSE,account.data_account_type_current_liabilities,,l10n_chart_china_standard_business_latest
account_3001,3001,清算资金往来,,FALSE,account.data_account_off_sheet,tag21,l10n_chart_china_standard_business_latest
account_3002,3002,货币兑换,,FALSE,account.data_account_off_sheet,tag23,l10n_chart_china_standard_business_latest
account_3101,3101,衍生工具,,FALSE,account.data_account_off_sheet,,l10n_chart_china_standard_business_latest
account_3201,3201,套期工具,,FALSE,account.data_account_off_sheet,,l10n_chart_china_standard_business_latest
account_3202,3202,被套期项目,,FALSE,account.data_account_off_sheet,,l10n_chart_china_standard_business_latest
account_4001,4001,实收资本,,FALSE,account.data_account_type_equity,,l10n_chart_china_standard_business_latest
account_4002,4002,资本公积,,FALSE,account.data_account_type_equity,,l10n_chart_china_standard_business_latest
account_4101,4101,盈余公积,,FALSE,account.data_account_type_equity,,l10n_chart_china_standard_business_latest
account_4102,4102,一般风险准备,,FALSE,account.data_account_type_equity,tag23,l10n_chart_china_standard_business_latest
account_4103,4103,本年利润,,FALSE,account.data_account_type_equity,,l10n_chart_china_standard_business_latest
account_4104,4104,利润分配,,FALSE,account.data_account_type_equity,,l10n_chart_china_standard_business_latest
account_4201,4201,库存股,,FALSE,account.data_account_type_equity,,l10n_chart_china_standard_business_latest
account_5001,5001,生产成本,,FALSE,account.data_account_type_direct_costs,,l10n_chart_china_standard_business_latest
account_5101,5101,制造费用,,FALSE,account.data_account_type_direct_costs,,l10n_chart_china_standard_business_latest
account_5201,5201,劳务成本,,FALSE,account.data_account_type_direct_costs,,l10n_chart_china_standard_business_latest
account_5301,5301,研发支出,,FALSE,account.data_account_type_direct_costs,,l10n_chart_china_standard_business_latest
account_5401,5401,工程施工,,FALSE,account.data_account_type_direct_costs,tag30,l10n_chart_china_standard_business_latest
account_5402,5402,工程结算,,FALSE,account.data_account_type_direct_costs,tag30,l10n_chart_china_standard_business_latest
account_5403,5403,机械作业,,FALSE,account.data_account_type_direct_costs,tag30,l10n_chart_china_standard_business_latest
account_6001,6001,主营业务收入,,FALSE,account.data_account_type_revenue,,l10n_chart_china_standard_business_latest
account_6011,6011,利息收入,,FALSE,account.data_account_type_revenue,tag23,l10n_chart_china_standard_business_latest
account_6021,6021,手续费及佣金收入,,FALSE,account.data_account_type_revenue,tag23,l10n_chart_china_standard_business_latest
account_6031,6031,保费收入,,FALSE,account.data_account_type_revenue,tag24,l10n_chart_china_standard_business_latest
account_6041,6041,租赁收入,,FALSE,account.data_account_type_revenue,tag27,l10n_chart_china_standard_business_latest
account_6051,6051,其他业务收入,,FALSE,account.data_account_type_revenue,,l10n_chart_china_standard_business_latest
account_6061,6061,汇兑损益,,FALSE,account.data_account_type_revenue,tag23,l10n_chart_china_standard_business_latest
account_6101,6101,公允价值变动损益,,FALSE,account.data_account_type_revenue,,l10n_chart_china_standard_business_latest
account_6111,6111,投资收益,,FALSE,account.data_account_type_revenue,,l10n_chart_china_standard_business_latest
account_6201,6201,摊回保险责任准备金,,FALSE,account.data_account_type_expenses,tag24,l10n_chart_china_standard_business_latest
account_6202,6202,摊回赔付支出,,FALSE,account.data_account_type_expenses,tag24,l10n_chart_china_standard_business_latest
account_6203,6203,摊回分保费用,,FALSE,account.data_account_type_expenses,tag24,l10n_chart_china_standard_business_latest
account_6301,6301,营业外收入,,FALSE,account.data_account_type_expenses,,l10n_chart_china_standard_business_latest
account_6401,6401,主营业务成本,,FALSE,account.data_account_type_expenses,,l10n_chart_china_standard_business_latest
account_6402,6402,其他业务成本,,FALSE,account.data_account_type_expenses,,l10n_chart_china_standard_business_latest
account_6403,6403,税金及附加,,FALSE,account.data_account_type_expenses,,l10n_chart_china_standard_business_latest
account_6411,6411,利息支出,,FALSE,account.data_account_type_expenses,tag23,l10n_chart_china_standard_business_latest
account_6421,6421,手续费及佣金支出,,FALSE,account.data_account_type_expenses,tag23,l10n_chart_china_standard_business_latest
account_6501,6501,提取未到期责任准备金,,FALSE,account.data_account_type_expenses,tag24,l10n_chart_china_standard_business_latest
account_6502,6502,提取保险责任准备金,,FALSE,account.data_account_type_expenses,tag24,l10n_chart_china_standard_business_latest
account_6511,6511,赔付支出,,FALSE,account.data_account_type_expenses,tag24,l10n_chart_china_standard_business_latest
account_6521,6521,保户红利支出,,FALSE,account.data_account_type_expenses,tag24,l10n_chart_china_standard_business_latest
account_6531,6531,退保金,,FALSE,account.data_account_type_expenses,tag24,l10n_chart_china_standard_business_latest
account_6541,6541,分出保费,,FALSE,account.data_account_type_expenses,tag24,l10n_chart_china_standard_business_latest
account_6542,6542,分保费用,,FALSE,account.data_account_type_expenses,tag24,l10n_chart_china_standard_business_latest
account_6601,6601,销售费用,,FALSE,account.data_account_type_expenses,,l10n_chart_china_standard_business_latest
account_6602,6602,管理费用,,FALSE,account.data_account_type_expenses,,l10n_chart_china_standard_business_latest
account_6603,6603,财务费用,,FALSE,account.data_account_type_expenses,,l10n_chart_china_standard_business_latest
account_6604,6604,勘探费用,,FALSE,account.data_account_type_expenses,,l10n_chart_china_standard_business_latest
account_6701,6701,资产减值损失,,FALSE,account.data_account_type_expenses,,l10n_chart_china_standard_business_latest
account_6711,6711,营业外支出,,FALSE,account.data_account_type_expenses,,l10n_chart_china_standard_business_latest
account_6801,6801,所得税费用,,FALSE,account.data_account_type_expenses,,l10n_chart_china_standard_business_latest
account_6901,6901,以前年度损益调整,,FALSE,account.data_account_type_expenses,,l10n_chart_china_standard_business_latest
1 id code name parent_id/id reconcile user_type_id/id tag_ids/id chart_template_id/id
2 account_1001 1001 库存现金 TRUE account.data_account_type_liquidity l10n_chart_china_standard_business_latest
3 account_1002 1002 银行存款 TRUE account.data_account_type_liquidity tag21 l10n_chart_china_standard_business_latest
4 account_1003 1003 存放中央银行款项 TRUE account.data_account_type_current_assets tag21 l10n_chart_china_standard_business_latest
5 account_1011 1011 存放同业 FALSE account.data_account_type_current_assets tag21 l10n_chart_china_standard_business_latest
6 account_1012 1012 其他货币资金 FALSE account.data_account_type_current_assets l10n_chart_china_standard_business_latest
7 account_1021 1021 结算备付金 FALSE account.data_account_type_current_assets tag22 l10n_chart_china_standard_business_latest
8 account_1031 1031 存出保证金 FALSE account.data_account_type_current_assets tag23 l10n_chart_china_standard_business_latest
9 account_1101 1101 交易性金融资产 FALSE account.data_account_type_current_assets l10n_chart_china_standard_business_latest
10 account_1111 1111 买入返售金融资产 FALSE account.data_account_type_current_assets tag23 l10n_chart_china_standard_business_latest
11 account_1121 1121 应收票据 TRUE account.data_account_type_receivable l10n_chart_china_standard_business_latest
12 account_1122 1122 应收账款 TRUE account.data_account_type_receivable l10n_chart_china_standard_business_latest
13 account_1123 1123 预付账款 TRUE account.data_account_type_receivable l10n_chart_china_standard_business_latest
14 account_1124 1124 应收账款(PoS) TRUE account.data_account_type_receivable l10n_chart_china_standard_business_latest
15 account_1131 1131 应收股利 TRUE account.data_account_type_receivable l10n_chart_china_standard_business_latest
16 account_1132 1132 应收利息 TRUE account.data_account_type_receivable l10n_chart_china_standard_business_latest
17 account_1201 1201 应收代位追偿款 FALSE account.data_account_type_current_assets tag24 l10n_chart_china_standard_business_latest
18 account_1211 1211 应收分保账款 FALSE account.data_account_type_current_assets tag24 l10n_chart_china_standard_business_latest
19 account_1212 1212 应收分保合同准备金 FALSE account.data_account_type_current_assets tag24 l10n_chart_china_standard_business_latest
20 account_1221 1221 其他应收款 FALSE account.data_account_type_current_assets l10n_chart_china_standard_business_latest
21 account_1231 1231 坏账准备 FALSE account.data_account_type_current_assets l10n_chart_china_standard_business_latest
22 account_1301 1301 贴现资产 FALSE account.data_account_type_current_assets tag21 l10n_chart_china_standard_business_latest
23 account_1302 1302 拆出资金 FALSE account.data_account_type_current_assets l10n_chart_china_standard_business_latest
24 account_1303 1303 贷款 FALSE account.data_account_type_current_assets tag25 l10n_chart_china_standard_business_latest
25 account_1304 1304 贷款损失准备 FALSE account.data_account_type_current_assets tag25 l10n_chart_china_standard_business_latest
26 account_1311 1311 代理兑付证券 FALSE account.data_account_type_current_assets tag29 l10n_chart_china_standard_business_latest
27 account_1321 1321 代理业务资产 FALSE account.data_account_type_current_assets l10n_chart_china_standard_business_latest
28 account_1401 1401 材料采购 FALSE account.data_account_type_current_assets l10n_chart_china_standard_business_latest
29 account_1402 1402 在途物资 FALSE account.data_account_type_current_assets l10n_chart_china_standard_business_latest
30 account_1403 1403 原材料 FALSE account.data_account_type_current_assets l10n_chart_china_standard_business_latest
31 account_1404 1404 材料成本差异 FALSE account.data_account_type_current_assets l10n_chart_china_standard_business_latest
32 account_1405 1405 库存商品 FALSE account.data_account_type_current_assets l10n_chart_china_standard_business_latest
33 account_1406 1406 发出商品 FALSE account.data_account_type_current_assets l10n_chart_china_standard_business_latest
34 account_1407 1407 商品进销差价 FALSE account.data_account_type_current_assets l10n_chart_china_standard_business_latest
35 account_1408 1408 委托加工物资 FALSE account.data_account_type_current_assets l10n_chart_china_standard_business_latest
36 account_1411 1411 周转材料 FALSE account.data_account_type_non_current_assets l10n_chart_china_standard_business_latest
37 account_1421 1421 消耗性生物资产 FALSE account.data_account_type_non_current_assets tag26 l10n_chart_china_standard_business_latest
38 account_1431 1431 贵金属 FALSE account.data_account_type_non_current_assets tag21 l10n_chart_china_standard_business_latest
39 account_1441 1441 抵债资产 FALSE account.data_account_type_non_current_assets tag23 l10n_chart_china_standard_business_latest
40 account_1451 1451 损余物资 FALSE account.data_account_type_non_current_assets tag24 l10n_chart_china_standard_business_latest
41 account_1461 1461 融资租赁资产 FALSE account.data_account_type_non_current_assets tag27 l10n_chart_china_standard_business_latest
42 account_1471 1471 存货跌价准备 FALSE account.data_account_type_non_current_assets l10n_chart_china_standard_business_latest
43 account_1501 1501 持有至到期投资 FALSE account.data_account_type_non_current_assets l10n_chart_china_standard_business_latest
44 account_1502 1502 持有至到期投资减值准备 FALSE account.data_account_type_non_current_assets l10n_chart_china_standard_business_latest
45 account_1503 1503 可供出售金融资产 FALSE account.data_account_type_non_current_assets l10n_chart_china_standard_business_latest
46 account_1511 1511 长期股权投资 FALSE account.data_account_type_non_current_assets l10n_chart_china_standard_business_latest
47 account_1512 1512 长期股权投资减值准备 FALSE account.data_account_type_non_current_assets l10n_chart_china_standard_business_latest
48 account_1521 1521 投资性房地产 FALSE account.data_account_type_non_current_assets l10n_chart_china_standard_business_latest
49 account_1531 1531 长期应收款 FALSE account.data_account_type_non_current_assets l10n_chart_china_standard_business_latest
50 account_1532 1532 未实现融资收益 FALSE account.data_account_type_non_current_assets l10n_chart_china_standard_business_latest
51 account_1541 1541 存出资本保证金 FALSE account.data_account_type_non_current_assets tag24 l10n_chart_china_standard_business_latest
52 account_1601 1601 固定资产 FALSE account.data_account_type_fixed_assets l10n_chart_china_standard_business_latest
53 account_1602 1602 累计折旧 FALSE account.data_account_type_fixed_assets l10n_chart_china_standard_business_latest
54 account_1603 1603 固定资产减值准备 FALSE account.data_account_type_fixed_assets l10n_chart_china_standard_business_latest
55 account_1604 1604 在建工程 FALSE account.data_account_type_fixed_assets l10n_chart_china_standard_business_latest
56 account_1605 1605 工程物资 FALSE account.data_account_type_fixed_assets l10n_chart_china_standard_business_latest
57 account_1606 1606 固定资产清理 FALSE account.data_account_type_fixed_assets l10n_chart_china_standard_business_latest
58 account_1611 1611 未担保余值 FALSE account.data_account_type_current_assets tag27 l10n_chart_china_standard_business_latest
59 account_1621 1621 生产性生物资产 FALSE account.data_account_type_current_assets tag26 l10n_chart_china_standard_business_latest
60 account_1622 1622 生产性生物资产累计折旧 FALSE account.data_account_type_current_assets tag26 l10n_chart_china_standard_business_latest
61 account_1623 1623 公益性生物资产 FALSE account.data_account_type_current_assets tag26 l10n_chart_china_standard_business_latest
62 account_1631 1631 油气资产 FALSE account.data_account_type_current_assets tag28 l10n_chart_china_standard_business_latest
63 account_1632 1632 累计折耗 FALSE account.data_account_type_current_assets tag28 l10n_chart_china_standard_business_latest
64 account_1701 1701 无形资产 FALSE account.data_account_type_current_assets l10n_chart_china_standard_business_latest
65 account_1702 1702 累计摊销 FALSE account.data_account_type_current_assets l10n_chart_china_standard_business_latest
66 account_1703 1703 无形资产减值准备 FALSE account.data_account_type_current_assets l10n_chart_china_standard_business_latest
67 account_1711 1711 商誉 FALSE account.data_account_type_current_assets l10n_chart_china_standard_business_latest
68 account_1801 1801 长期待摊费用 FALSE account.data_account_type_current_assets l10n_chart_china_standard_business_latest
69 account_1811 1811 递延所得税资产 FALSE account.data_account_type_current_assets l10n_chart_china_standard_business_latest
70 account_1821 1821 独立账户资产 FALSE account.data_account_type_current_assets tag24 l10n_chart_china_standard_business_latest
71 account_1901 1901 待处理财产损溢 FALSE account.data_account_type_current_assets l10n_chart_china_standard_business_latest
72 account_2001 2001 短期借款 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
73 account_2002 2002 存入保证金 FALSE account.data_account_type_current_liabilities tag23 l10n_chart_china_standard_business_latest
74 account_2003 2003 拆入资金 FALSE account.data_account_type_current_liabilities tag23 l10n_chart_china_standard_business_latest
75 account_2004 2004 向中央银行借款 FALSE account.data_account_type_current_liabilities tag21 l10n_chart_china_standard_business_latest
76 account_2011 2011 吸收存款 FALSE account.data_account_type_current_liabilities tag21 l10n_chart_china_standard_business_latest
77 account_2012 2012 同业存放 FALSE account.data_account_type_current_liabilities tag21 l10n_chart_china_standard_business_latest
78 account_2021 2021 贴现负债 FALSE account.data_account_type_current_liabilities tag21 l10n_chart_china_standard_business_latest
79 account_2101 2101 交易性金融负债 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
80 account_2111 2111 卖出回购金融资产款 FALSE account.data_account_type_current_liabilities tag23 l10n_chart_china_standard_business_latest
81 account_2201 2201 应付票据 TRUE account.data_account_type_payable l10n_chart_china_standard_business_latest
82 account_2202 2202 应付账款 TRUE account.data_account_type_payable l10n_chart_china_standard_business_latest
83 account_2203 2203 预收账款 TRUE account.data_account_type_payable l10n_chart_china_standard_business_latest
84 account_2211 2211 应付职工薪酬 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
85 account_2221 2221 应交税费 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
86 account_2221_1 2221.01 应交增值税 account_2221 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
87 account_2221_1_1 2221.01.01 进项税额 account_2221_1 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
88 account_2221_1_2 2221.01.02 已交税金 account_2221_1 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
89 account_2221_1_3 2221.01.03 转出未交增值税 account_2221_1 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
90 account_2221_1_4 2221.01.04 减免税款 account_2221_1 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
91 account_2221_1_5 2221.01.05 销项税额 account_2221_1 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
92 account_2221_1_6 2221.01.06 出口退税 account_2221_1 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
93 account_2221_1_7 2221.01.07 进项税额转出 account_2221_1 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
94 account_2221_1_8 2221.01.08 出口抵减内销产品应纳税额 account_2221_1 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
95 account_2221_1_9 2221.01.09 转出多交增值税 account_2221_1 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
96 account_2221_2 2221.02 未交增值税 account_2221 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
97 account_2221_3 2221.03 应交营业税 account_2221 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
98 account_2221_4 2221.04 应交消费税 account_2221 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
99 account_2221_5 2221.05 应交资源税 account_2221 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
100 account_2221_6 2221.06 应交所得税 account_2221 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
101 account_2221_7 2221.07 应交土地增值税 account_2221 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
102 account_2221_8 2221.08 应交城市维护建设税 account_2221 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
103 account_2221_9 2221.09 应交房产税 account_2221 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
104 account_2221_10 2221.10 应交土地使用税 account_2221 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
105 account_2221_11 2221.11 应交车船使用税 account_2221 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
106 account_2221_12 2221.12 应交个人所得税 account_2221 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
107 account_2231 2231 应付利息 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
108 account_2232 2232 应付股利 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
109 account_2241 2241 其他应付款 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
110 account_2251 2251 应付保单红利 FALSE account.data_account_type_current_liabilities tag24 l10n_chart_china_standard_business_latest
111 account_2261 2261 应付分保账款 FALSE account.data_account_type_current_liabilities tag24 l10n_chart_china_standard_business_latest
112 account_2311 2311 代理买卖证券款 FALSE account.data_account_type_current_liabilities tag22 l10n_chart_china_standard_business_latest
113 account_2312 2312 代理承销证券款 FALSE account.data_account_type_current_liabilities tag29 l10n_chart_china_standard_business_latest
114 account_2313 2313 代理兑付证券款 FALSE account.data_account_type_current_liabilities tag29 l10n_chart_china_standard_business_latest
115 account_2314 2314 代理业务负债 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
116 account_2401 2401 递延收益 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
117 account_2501 2501 长期借款 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
118 account_2502 2502 应付债券 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
119 account_2601 2601 未到期责任准备金 FALSE account.data_account_type_current_liabilities tag24 l10n_chart_china_standard_business_latest
120 account_2602 2602 保险责任准备金 FALSE account.data_account_type_current_liabilities tag24 l10n_chart_china_standard_business_latest
121 account_2611 2611 保户储金 FALSE account.data_account_type_current_liabilities tag24 l10n_chart_china_standard_business_latest
122 account_2621 2621 独立账户负债 FALSE account.data_account_type_current_liabilities tag24 l10n_chart_china_standard_business_latest
123 account_2701 2701 长期应付款 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
124 account_2702 2702 未确认融资费用 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
125 account_2711 2711 专项应付款 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
126 account_2801 2801 预计负债 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
127 account_2901 2901 递延所得税负债 FALSE account.data_account_type_current_liabilities l10n_chart_china_standard_business_latest
128 account_3001 3001 清算资金往来 FALSE account.data_account_off_sheet tag21 l10n_chart_china_standard_business_latest
129 account_3002 3002 货币兑换 FALSE account.data_account_off_sheet tag23 l10n_chart_china_standard_business_latest
130 account_3101 3101 衍生工具 FALSE account.data_account_off_sheet l10n_chart_china_standard_business_latest
131 account_3201 3201 套期工具 FALSE account.data_account_off_sheet l10n_chart_china_standard_business_latest
132 account_3202 3202 被套期项目 FALSE account.data_account_off_sheet l10n_chart_china_standard_business_latest
133 account_4001 4001 实收资本 FALSE account.data_account_type_equity l10n_chart_china_standard_business_latest
134 account_4002 4002 资本公积 FALSE account.data_account_type_equity l10n_chart_china_standard_business_latest
135 account_4101 4101 盈余公积 FALSE account.data_account_type_equity l10n_chart_china_standard_business_latest
136 account_4102 4102 一般风险准备 FALSE account.data_account_type_equity tag23 l10n_chart_china_standard_business_latest
137 account_4103 4103 本年利润 FALSE account.data_account_type_equity l10n_chart_china_standard_business_latest
138 account_4104 4104 利润分配 FALSE account.data_account_type_equity l10n_chart_china_standard_business_latest
139 account_4201 4201 库存股 FALSE account.data_account_type_equity l10n_chart_china_standard_business_latest
140 account_5001 5001 生产成本 FALSE account.data_account_type_direct_costs l10n_chart_china_standard_business_latest
141 account_5101 5101 制造费用 FALSE account.data_account_type_direct_costs l10n_chart_china_standard_business_latest
142 account_5201 5201 劳务成本 FALSE account.data_account_type_direct_costs l10n_chart_china_standard_business_latest
143 account_5301 5301 研发支出 FALSE account.data_account_type_direct_costs l10n_chart_china_standard_business_latest
144 account_5401 5401 工程施工 FALSE account.data_account_type_direct_costs tag30 l10n_chart_china_standard_business_latest
145 account_5402 5402 工程结算 FALSE account.data_account_type_direct_costs tag30 l10n_chart_china_standard_business_latest
146 account_5403 5403 机械作业 FALSE account.data_account_type_direct_costs tag30 l10n_chart_china_standard_business_latest
147 account_6001 6001 主营业务收入 FALSE account.data_account_type_revenue l10n_chart_china_standard_business_latest
148 account_6011 6011 利息收入 FALSE account.data_account_type_revenue tag23 l10n_chart_china_standard_business_latest
149 account_6021 6021 手续费及佣金收入 FALSE account.data_account_type_revenue tag23 l10n_chart_china_standard_business_latest
150 account_6031 6031 保费收入 FALSE account.data_account_type_revenue tag24 l10n_chart_china_standard_business_latest
151 account_6041 6041 租赁收入 FALSE account.data_account_type_revenue tag27 l10n_chart_china_standard_business_latest
152 account_6051 6051 其他业务收入 FALSE account.data_account_type_revenue l10n_chart_china_standard_business_latest
153 account_6061 6061 汇兑损益 FALSE account.data_account_type_revenue tag23 l10n_chart_china_standard_business_latest
154 account_6101 6101 公允价值变动损益 FALSE account.data_account_type_revenue l10n_chart_china_standard_business_latest
155 account_6111 6111 投资收益 FALSE account.data_account_type_revenue l10n_chart_china_standard_business_latest
156 account_6201 6201 摊回保险责任准备金 FALSE account.data_account_type_expenses tag24 l10n_chart_china_standard_business_latest
157 account_6202 6202 摊回赔付支出 FALSE account.data_account_type_expenses tag24 l10n_chart_china_standard_business_latest
158 account_6203 6203 摊回分保费用 FALSE account.data_account_type_expenses tag24 l10n_chart_china_standard_business_latest
159 account_6301 6301 营业外收入 FALSE account.data_account_type_expenses l10n_chart_china_standard_business_latest
160 account_6401 6401 主营业务成本 FALSE account.data_account_type_expenses l10n_chart_china_standard_business_latest
161 account_6402 6402 其他业务成本 FALSE account.data_account_type_expenses l10n_chart_china_standard_business_latest
162 account_6403 6403 税金及附加 FALSE account.data_account_type_expenses l10n_chart_china_standard_business_latest
163 account_6411 6411 利息支出 FALSE account.data_account_type_expenses tag23 l10n_chart_china_standard_business_latest
164 account_6421 6421 手续费及佣金支出 FALSE account.data_account_type_expenses tag23 l10n_chart_china_standard_business_latest
165 account_6501 6501 提取未到期责任准备金 FALSE account.data_account_type_expenses tag24 l10n_chart_china_standard_business_latest
166 account_6502 6502 提取保险责任准备金 FALSE account.data_account_type_expenses tag24 l10n_chart_china_standard_business_latest
167 account_6511 6511 赔付支出 FALSE account.data_account_type_expenses tag24 l10n_chart_china_standard_business_latest
168 account_6521 6521 保户红利支出 FALSE account.data_account_type_expenses tag24 l10n_chart_china_standard_business_latest
169 account_6531 6531 退保金 FALSE account.data_account_type_expenses tag24 l10n_chart_china_standard_business_latest
170 account_6541 6541 分出保费 FALSE account.data_account_type_expenses tag24 l10n_chart_china_standard_business_latest
171 account_6542 6542 分保费用 FALSE account.data_account_type_expenses tag24 l10n_chart_china_standard_business_latest
172 account_6601 6601 销售费用 FALSE account.data_account_type_expenses l10n_chart_china_standard_business_latest
173 account_6602 6602 管理费用 FALSE account.data_account_type_expenses l10n_chart_china_standard_business_latest
174 account_6603 6603 财务费用 FALSE account.data_account_type_expenses l10n_chart_china_standard_business_latest
175 account_6604 6604 勘探费用 FALSE account.data_account_type_expenses l10n_chart_china_standard_business_latest
176 account_6701 6701 资产减值损失 FALSE account.data_account_type_expenses l10n_chart_china_standard_business_latest
177 account_6711 6711 营业外支出 FALSE account.data_account_type_expenses l10n_chart_china_standard_business_latest
178 account_6801 6801 所得税费用 FALSE account.data_account_type_expenses l10n_chart_china_standard_business_latest
179 account_6901 6901 以前年度损益调整 FALSE account.data_account_type_expenses l10n_chart_china_standard_business_latest

View 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","损益类"
1 id code_prefix_start code_prefix_end name
2 account_group_1 1 1 资产类
3 account_group_2 2 2 负债类
4 account_group_3 3 3 共同类
5 account_group_4 4 4 所有者权益类
6 account_group_5 5 5 成本类
7 account_group_6 6 6 损益类

View 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>

View 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>

View 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>

View 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>

View 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">2022中国企业会计科目表-odoo15</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>

View 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
1 id code name parent_id/id reconcile user_type_id/id group_id/id tag_ids/id chart_template_id/id
2 account_1003 1003 存放中央银行款项 TRUE account.data_account_type_current_assets account_group_1 tag3 l10n_chart_china_standard_business_latest
3 account_1011 1011 存放同业 FALSE account.data_account_type_current_assets account_group_1 tag3 l10n_chart_china_standard_business_latest
4 account_1012 1012 其他货币资金 FALSE account.data_account_type_current_assets account_group_1 l10n_chart_china_standard_business_latest
5 account_1021 1021 结算备付金 FALSE account.data_account_type_current_assets account_group_1 tag4 l10n_chart_china_standard_business_latest
6 account_1031 1031 存出保证金 FALSE account.data_account_type_current_assets account_group_1 tag5 l10n_chart_china_standard_business_latest
7 account_1101 1101 交易性金融资产 FALSE account.data_account_type_current_assets account_group_1 l10n_chart_china_standard_business_latest
8 account_1111 1111 买入返售金融资产 FALSE account.data_account_type_current_assets account_group_1 tag5 l10n_chart_china_standard_business_latest
9 account_1121 1121 应收票据 TRUE account.data_account_type_receivable account_group_1 l10n_chart_china_standard_business_latest
10 account_1122 1122 应收账款 TRUE account.data_account_type_receivable account_group_1 l10n_chart_china_standard_business_latest
11 account_1123 1123 预付账款 TRUE account.data_account_type_receivable account_group_1 l10n_chart_china_standard_business_latest
12 account_1131 1131 应收股利 TRUE account.data_account_type_receivable account_group_1 l10n_chart_china_standard_business_latest
13 account_1132 1132 应收利息 TRUE account.data_account_type_receivable account_group_1 l10n_chart_china_standard_business_latest
14 account_1201 1201 应收代位追偿款 FALSE account.data_account_type_current_assets account_group_1 tag6 l10n_chart_china_standard_business_latest
15 account_1211 1211 应收分保账款 FALSE account.data_account_type_current_assets account_group_1 tag6 l10n_chart_china_standard_business_latest
16 account_1212 1212 应收分保合同准备金 FALSE account.data_account_type_current_assets account_group_1 tag6 l10n_chart_china_standard_business_latest
17 account_1221 1221 其他应收款 FALSE account.data_account_type_current_assets account_group_1 l10n_chart_china_standard_business_latest
18 account_1231 1231 坏账准备 FALSE account.data_account_type_current_assets account_group_1 l10n_chart_china_standard_business_latest
19 account_1301 1301 贴现资产 FALSE account.data_account_type_current_assets account_group_1 tag3 l10n_chart_china_standard_business_latest
20 account_1302 1302 拆出资金 FALSE account.data_account_type_current_assets account_group_1 l10n_chart_china_standard_business_latest
21 account_1303 1303 贷款 FALSE account.data_account_type_current_assets account_group_1 tag7 l10n_chart_china_standard_business_latest
22 account_1304 1304 贷款损失准备 FALSE account.data_account_type_current_assets account_group_1 tag7 l10n_chart_china_standard_business_latest
23 account_1311 1311 代理兑付证券 FALSE account.data_account_type_current_assets account_group_1 tag11 l10n_chart_china_standard_business_latest
24 account_1321 1321 代理业务资产 FALSE account.data_account_type_current_assets account_group_1 l10n_chart_china_standard_business_latest
25 account_1401 1401 材料采购 FALSE account.data_account_type_current_assets account_group_1 l10n_chart_china_standard_business_latest
26 account_1402 1402 在途物资 FALSE account.data_account_type_current_assets account_group_1 l10n_chart_china_standard_business_latest
27 account_1403 1403 原材料 FALSE account.data_account_type_current_assets account_group_1 l10n_chart_china_standard_business_latest
28 account_1404 1404 材料成本差异 FALSE account.data_account_type_current_assets account_group_1 l10n_chart_china_standard_business_latest
29 account_1405 1405 库存商品 FALSE account.data_account_type_current_assets account_group_1 l10n_chart_china_standard_business_latest
30 account_1406 1406 发出商品 FALSE account.data_account_type_current_assets account_group_1 l10n_chart_china_standard_business_latest
31 account_1407 1407 商品进销差价 FALSE account.data_account_type_current_assets account_group_1 l10n_chart_china_standard_business_latest
32 account_1408 1408 委托加工物资 FALSE account.data_account_type_current_assets account_group_1 l10n_chart_china_standard_business_latest
33 account_1411 1411 周转材料 FALSE account.data_account_type_non_current_assets account_group_1 l10n_chart_china_standard_business_latest
34 account_1421 1421 消耗性生物资产 FALSE account.data_account_type_non_current_assets account_group_1 tag8 l10n_chart_china_standard_business_latest
35 account_1431 1431 贵金属 FALSE account.data_account_type_non_current_assets account_group_1 tag3 l10n_chart_china_standard_business_latest
36 account_1441 1441 抵债资产 FALSE account.data_account_type_non_current_assets account_group_1 tag5 l10n_chart_china_standard_business_latest
37 account_1451 1451 损余物资 FALSE account.data_account_type_non_current_assets account_group_1 tag6 l10n_chart_china_standard_business_latest
38 account_1461 1461 融资租赁资产 FALSE account.data_account_type_non_current_assets account_group_1 tag9 l10n_chart_china_standard_business_latest
39 account_1471 1471 存货跌价准备 FALSE account.data_account_type_non_current_assets account_group_1 l10n_chart_china_standard_business_latest
40 account_1501 1501 持有至到期投资 FALSE account.data_account_type_non_current_assets account_group_1 l10n_chart_china_standard_business_latest
41 account_1502 1502 持有至到期投资减值准备 FALSE account.data_account_type_non_current_assets account_group_1 l10n_chart_china_standard_business_latest
42 account_1503 1503 可供出售金融资产 FALSE account.data_account_type_non_current_assets account_group_1 l10n_chart_china_standard_business_latest
43 account_1511 1511 长期股权投资 FALSE account.data_account_type_non_current_assets account_group_1 l10n_chart_china_standard_business_latest
44 account_1512 1512 长期股权投资减值准备 FALSE account.data_account_type_non_current_assets account_group_1 l10n_chart_china_standard_business_latest
45 account_1521 1521 投资性房地产 FALSE account.data_account_type_non_current_assets account_group_1 l10n_chart_china_standard_business_latest
46 account_1531 1531 长期应收款 FALSE account.data_account_type_non_current_assets account_group_1 l10n_chart_china_standard_business_latest
47 account_1532 1532 未实现融资收益 FALSE account.data_account_type_non_current_assets account_group_1 l10n_chart_china_standard_business_latest
48 account_1541 1541 存出资本保证金 FALSE account.data_account_type_non_current_assets account_group_1 tag6 l10n_chart_china_standard_business_latest
49 account_1601 1601 固定资产 FALSE account.data_account_type_fixed_assets account_group_1 l10n_chart_china_standard_business_latest
50 account_1602 1602 累计折旧 FALSE account.data_account_type_fixed_assets account_group_1 l10n_chart_china_standard_business_latest
51 account_1603 1603 固定资产减值准备 FALSE account.data_account_type_fixed_assets account_group_1 l10n_chart_china_standard_business_latest
52 account_1604 1604 在建工程 FALSE account.data_account_type_fixed_assets account_group_1 l10n_chart_china_standard_business_latest
53 account_1605 1605 工程物资 FALSE account.data_account_type_fixed_assets account_group_1 l10n_chart_china_standard_business_latest
54 account_1606 1606 固定资产清理 FALSE account.data_account_type_fixed_assets account_group_1 l10n_chart_china_standard_business_latest
55 account_1611 1611 未担保余值 FALSE account.data_account_type_current_assets account_group_1 tag9 l10n_chart_china_standard_business_latest
56 account_1621 1621 生产性生物资产 FALSE account.data_account_type_current_assets account_group_1 tag8 l10n_chart_china_standard_business_latest
57 account_1622 1622 生产性生物资产累计折旧 FALSE account.data_account_type_current_assets account_group_1 tag8 l10n_chart_china_standard_business_latest
58 account_1623 1623 公益性生物资产 FALSE account.data_account_type_current_assets account_group_1 tag8 l10n_chart_china_standard_business_latest
59 account_1631 1631 油气资产 FALSE account.data_account_type_current_assets account_group_1 tag10 l10n_chart_china_standard_business_latest
60 account_1632 1632 累计折耗 FALSE account.data_account_type_current_assets account_group_1 tag10 l10n_chart_china_standard_business_latest
61 account_1701 1701 无形资产 FALSE account.data_account_type_current_assets account_group_1 l10n_chart_china_standard_business_latest
62 account_1702 1702 累计摊销 FALSE account.data_account_type_current_assets account_group_1 l10n_chart_china_standard_business_latest
63 account_1703 1703 无形资产减值准备 FALSE account.data_account_type_current_assets account_group_1 l10n_chart_china_standard_business_latest
64 account_1711 1711 商誉 FALSE account.data_account_type_current_assets account_group_1 l10n_chart_china_standard_business_latest
65 account_1801 1801 长期待摊费用 FALSE account.data_account_type_current_assets account_group_1 l10n_chart_china_standard_business_latest
66 account_1811 1811 递延所得税资产 FALSE account.data_account_type_current_assets account_group_1 l10n_chart_china_standard_business_latest
67 account_1821 1821 独立账户资产 FALSE account.data_account_type_current_assets account_group_1 tag6 l10n_chart_china_standard_business_latest
68 account_1901 1901 待处理财产损溢 FALSE account.data_account_type_current_assets account_group_1 l10n_chart_china_standard_business_latest
69 account_2001 2001 短期借款 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
70 account_2002 2002 存入保证金 FALSE account.data_account_type_current_liabilities account_group_2 tag5 l10n_chart_china_standard_business_latest
71 account_2003 2003 拆入资金 FALSE account.data_account_type_current_liabilities account_group_2 tag5 l10n_chart_china_standard_business_latest
72 account_2004 2004 向中央银行借款 FALSE account.data_account_type_current_liabilities account_group_2 tag3 l10n_chart_china_standard_business_latest
73 account_2011 2011 吸收存款 FALSE account.data_account_type_current_liabilities account_group_2 tag3 l10n_chart_china_standard_business_latest
74 account_2012 2012 同业存放 FALSE account.data_account_type_current_liabilities account_group_2 tag3 l10n_chart_china_standard_business_latest
75 account_2021 2021 贴现负债 FALSE account.data_account_type_current_liabilities account_group_2 tag3 l10n_chart_china_standard_business_latest
76 account_2101 2101 交易性金融负债 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
77 account_2111 2111 卖出回购金融资产款 FALSE account.data_account_type_current_liabilities account_group_2 tag5 l10n_chart_china_standard_business_latest
78 account_2201 2201 应付票据 TRUE account.data_account_type_payable account_group_2 l10n_chart_china_standard_business_latest
79 account_2202 2202 应付账款 TRUE account.data_account_type_payable account_group_2 l10n_chart_china_standard_business_latest
80 account_2203 2203 预收账款 TRUE account.data_account_type_payable account_group_2 l10n_chart_china_standard_business_latest
81 account_2211 2211 应付职工薪酬 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
82 account_2221 2221 应交税费 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
83 account_2221_1 2221.01 应交增值税 account_2221 FALSE account.data_account_type_current_liabilities account_group_2 l11n_chart_china_standard_business_latest
84 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
85 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
86 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
87 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
88 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
89 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
90 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
91 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
92 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
93 account_2221_2 2221.02 未交增值税 account_2221 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
94 account_2221_3 2221.03 应交营业税 account_2221 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
95 account_2221_4 2221.04 应交消费税 account_2221 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
96 account_2221_5 2221.05 应交资源税 account_2221 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
97 account_2221_6 2221.06 应交所得税 account_2221 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
98 account_2221_7 2221.07 应交土地增值税 account_2221 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
99 account_2221_8 2221.08 应交城市维护建设税 account_2221 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
100 account_2221_9 2221.09 应交房产税 account_2221 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
101 account_2221_10 2221.10 应交土地使用税 account_2221 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
102 account_2221_11 2221.11 应交车船使用税 account_2221 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
103 account_2221_12 2221.12 应交个人所得税 account_2221 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
104 account_2231 2231 应付利息 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
105 account_2232 2232 应付股利 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
106 account_2241 2241 其他应付款 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
107 account_2251 2251 应付保单红利 FALSE account.data_account_type_current_liabilities account_group_2 tag6 l10n_chart_china_standard_business_latest
108 account_2261 2261 应付分保账款 FALSE account.data_account_type_current_liabilities account_group_2 tag6 l10n_chart_china_standard_business_latest
109 account_2311 2311 代理买卖证券款 FALSE account.data_account_type_current_liabilities account_group_2 tag4 l10n_chart_china_standard_business_latest
110 account_2312 2312 代理承销证券款 FALSE account.data_account_type_current_liabilities account_group_2 tag11 l10n_chart_china_standard_business_latest
111 account_2313 2313 代理兑付证券款 FALSE account.data_account_type_current_liabilities account_group_2 tag11 l10n_chart_china_standard_business_latest
112 account_2314 2314 代理业务负债 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
113 account_2401 2401 递延收益 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
114 account_2501 2501 长期借款 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
115 account_2502 2502 应付债券 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
116 account_2601 2601 未到期责任准备金 FALSE account.data_account_type_current_liabilities account_group_2 tag6 l10n_chart_china_standard_business_latest
117 account_2602 2602 保险责任准备金 FALSE account.data_account_type_current_liabilities account_group_2 tag6 l10n_chart_china_standard_business_latest
118 account_2611 2611 保户储金 FALSE account.data_account_type_current_liabilities account_group_2 tag6 l10n_chart_china_standard_business_latest
119 account_2621 2621 独立账户负债 FALSE account.data_account_type_current_liabilities account_group_2 tag6 l10n_chart_china_standard_business_latest
120 account_2701 2701 长期应付款 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
121 account_2702 2702 未确认融资费用 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
122 account_2711 2711 专项应付款 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
123 account_2801 2801 预计负债 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
124 account_2901 2901 递延所得税负债 FALSE account.data_account_type_current_liabilities account_group_2 l10n_chart_china_standard_business_latest
125 account_3001 3001 清算资金往来 FALSE l10n_cn.user_type_all account_group_3 tag3 l10n_chart_china_standard_business_latest
126 account_3002 3002 货币兑换 FALSE l10n_cn.user_type_all account_group_3 tag5 l10n_chart_china_standard_business_latest
127 account_3101 3101 衍生工具 FALSE l10n_cn.user_type_all account_group_3 l10n_chart_china_standard_business_latest
128 account_3201 3201 套期工具 FALSE l10n_cn.user_type_all account_group_3 l10n_chart_china_standard_business_latest
129 account_3202 3202 被套期项目 FALSE l10n_cn.user_type_all account_group_3 l10n_chart_china_standard_business_latest
130 account_4001 4001 实收资本 FALSE account.data_account_type_equity account_group_4 l10n_chart_china_standard_business_latest
131 account_4002 4002 资本公积 FALSE account.data_account_type_equity account_group_4 l10n_chart_china_standard_business_latest
132 account_4101 4101 盈余公积 FALSE account.data_account_type_equity account_group_4 l10n_chart_china_standard_business_latest
133 account_4102 4102 一般风险准备 FALSE account.data_account_type_equity account_group_4 tag5 l10n_chart_china_standard_business_latest
134 account_4103 4103 本年利润 FALSE account.data_account_type_equity account_group_4 l10n_chart_china_standard_business_latest
135 account_4104 4104 利润分配 FALSE account.data_account_type_equity account_group_4 l10n_chart_china_standard_business_latest
136 account_4201 4201 库存股 FALSE account.data_account_type_equity account_group_4 l10n_chart_china_standard_business_latest
137 account_5001 5001 生产成本 FALSE l10n_cn.user_type_all account_group_5 l10n_chart_china_standard_business_latest
138 account_5101 5101 制造费用 FALSE l10n_cn.user_type_all account_group_5 l10n_chart_china_standard_business_latest
139 account_5201 5201 劳务成本 FALSE l10n_cn.user_type_all account_group_5 l10n_chart_china_standard_business_latest
140 account_5301 5301 研发支出 FALSE l10n_cn.user_type_all account_group_5 l10n_chart_china_standard_business_latest
141 account_5401 5401 工程施工 FALSE l10n_cn.user_type_all account_group_5 tag12 l10n_chart_china_standard_business_latest
142 account_5402 5402 工程结算 FALSE l10n_cn.user_type_all account_group_5 tag12 l10n_chart_china_standard_business_latest
143 account_5403 5403 机械作业 FALSE l10n_cn.user_type_all account_group_5 tag12 l10n_chart_china_standard_business_latest
144 account_6001 6001 主营业务收入 FALSE account.data_account_type_revenue account_group_6 l10n_chart_china_standard_business_latest
145 account_6011 6011 利息收入 FALSE account.data_account_type_revenue account_group_6 tag5 l10n_chart_china_standard_business_latest
146 account_6021 6021 手续费及佣金收入 FALSE account.data_account_type_revenue account_group_6 tag5 l10n_chart_china_standard_business_latest
147 account_6031 6031 保费收入 FALSE account.data_account_type_revenue account_group_6 tag6 l10n_chart_china_standard_business_latest
148 account_6041 6041 租赁收入 FALSE account.data_account_type_revenue account_group_6 tag9 l10n_chart_china_standard_business_latest
149 account_6051 6051 其他业务收入 FALSE account.data_account_type_revenue account_group_6 l10n_chart_china_standard_business_latest
150 account_6061 6061 汇兑损益 FALSE account.data_account_type_revenue account_group_6 tag5 l10n_chart_china_standard_business_latest
151 account_6101 6101 公允价值变动损益 FALSE account.data_account_type_revenue account_group_6 l10n_chart_china_standard_business_latest
152 account_6111 6111 投资收益 FALSE account.data_account_type_revenue account_group_6 l10n_chart_china_standard_business_latest
153 account_6201 6201 摊回保险责任准备金 FALSE account.data_account_type_expenses account_group_6 tag6 l10n_chart_china_standard_business_latest
154 account_6202 6202 摊回赔付支出 FALSE account.data_account_type_expenses account_group_6 tag6 l10n_chart_china_standard_business_latest
155 account_6203 6203 摊回分保费用 FALSE account.data_account_type_expenses account_group_6 tag6 l10n_chart_china_standard_business_latest
156 account_6301 6301 营业外收入 FALSE account.data_account_type_expenses account_group_6 l10n_chart_china_standard_business_latest
157 account_6401 6401 主营业务成本 FALSE account.data_account_type_expenses account_group_6 l10n_chart_china_standard_business_latest
158 account_6402 6402 其他业务成本 FALSE account.data_account_type_expenses account_group_6 l10n_chart_china_standard_business_latest
159 account_6403 6403 税金及附加 FALSE account.data_account_type_expenses account_group_6 l10n_chart_china_standard_business_latest
160 account_6411 6411 利息支出 FALSE account.data_account_type_expenses account_group_6 tag5 l10n_chart_china_standard_business_latest
161 account_6421 6421 手续费及佣金支出 FALSE account.data_account_type_expenses account_group_6 tag5 l10n_chart_china_standard_business_latest
162 account_6501 6501 提取未到期责任准备金 FALSE account.data_account_type_expenses account_group_6 tag6 l10n_chart_china_standard_business_latest
163 account_6502 6502 提取保险责任准备金 FALSE account.data_account_type_expenses account_group_6 tag6 l10n_chart_china_standard_business_latest
164 account_6511 6511 赔付支出 FALSE account.data_account_type_expenses account_group_6 tag6 l10n_chart_china_standard_business_latest
165 account_6521 6521 保户红利支出 FALSE account.data_account_type_expenses account_group_6 tag6 l10n_chart_china_standard_business_latest
166 account_6531 6531 退保金 FALSE account.data_account_type_expenses account_group_6 tag6 l10n_chart_china_standard_business_latest
167 account_6541 6541 分出保费 FALSE account.data_account_type_expenses account_group_6 tag6 l10n_chart_china_standard_business_latest
168 account_6542 6542 分保费用 FALSE account.data_account_type_expenses account_group_6 tag6 l10n_chart_china_standard_business_latest
169 account_6601 6601 销售费用 FALSE account.data_account_type_expenses account_group_6 l10n_chart_china_standard_business_latest
170 account_6602 6602 管理费用 FALSE account.data_account_type_expenses account_group_6 l10n_chart_china_standard_business_latest
171 account_6603 6603 财务费用 FALSE account.data_account_type_expenses account_group_6 l10n_chart_china_standard_business_latest
172 account_6604 6604 勘探费用 FALSE account.data_account_type_expenses account_group_6 l10n_chart_china_standard_business_latest
173 account_6701 6701 资产减值损失 FALSE account.data_account_type_expenses account_group_6 l10n_chart_china_standard_business_latest
174 account_6711 6711 营业外支出 FALSE account.data_account_type_expenses account_group_6 l10n_chart_china_standard_business_latest
175 account_6801 6801 所得税费用 FALSE account.data_account_type_expenses account_group_6 l10n_chart_china_standard_business_latest
176 account_6901 6901 以前年度损益调整 FALSE account.data_account_type_expenses account_group_6 l10n_chart_china_standard_business_latest

View File

@@ -0,0 +1,39 @@
# -*- coding: utf-8 -*-
# Created on 2017-11-22
# author: 广州尚鹏https://www.sunpop.cn
# email: 300883@qq.com
# resource of Sunpop
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# Odoo在线中文用户手册长期更新
# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html
# Odoo10离线中文用户手册下载
# https://www.sunpop.cn/odoo10_user_manual_document_offline/
# Odoo10离线开发手册下载-含python教程jquery参考Jinja2模板PostgresSQL参考odoo开发必备
# https://www.sunpop.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

File diff suppressed because it is too large Load Diff

View 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

View File

@@ -0,0 +1,41 @@
# -*- coding: utf-8 -*-
# Created on 2018-11-28
# author: 广州尚鹏https://www.sunpop.cn
# email: 300883@qq.com
# resource of Sunpop
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# Odoo在线中文用户手册长期更新
# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html
# Odoo10离线中文用户手册下载
# https://www.sunpop.cn/odoo10_user_manual_document_offline/
# Odoo10离线开发手册下载-含python教程jquery参考Jinja2模板PostgresSQL参考odoo开发必备
# https://www.sunpop.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)
@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.'))

View File

@@ -0,0 +1,32 @@
# -*- coding: utf-8 -*-
# Created on 2018-11-28
# author: 广州尚鹏https://www.sunpop.cn
# email: 300883@qq.com
# resource of Sunpop
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# Odoo在线中文用户手册长期更新
# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html
# Odoo10离线中文用户手册下载
# https://www.sunpop.cn/odoo10_user_manual_document_offline/
# Odoo10离线开发手册下载-含python教程jquery参考Jinja2模板PostgresSQL参考odoo开发必备
# https://www.sunpop.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)

View File

@@ -0,0 +1,84 @@
# -*- coding: utf-8 -*-
# Created on 2018-11-07
# author: 广州尚鹏https://www.sunpop.cn
# email: 300883@qq.com
# resource of Sunpop
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# Odoo在线中文用户手册长期更新
# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html
# Odoo10离线中文用户手册下载
# https://www.sunpop.cn/odoo10_user_manual_document_offline/
# Odoo10离线开发手册下载-含python教程jquery参考Jinja2模板PostgresSQL参考odoo开发必备
# https://www.sunpop.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):
''' 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.'))
current_assets_type = self.env.ref('account.data_account_type_current_assets', raise_if_not_found=False)
return {
'name': _('Liquidity Transfer'),
'code': new_code,
'user_type_id': current_assets_type and current_assets_type.id or False,
'reconcile': True,
'chart_template_id': self.id,
}
def load_for_current_company(self, sale_tax_rate, purchase_tax_rate):
res = super(AccountChartTemplate, self).load_for_current_company(sale_tax_rate, purchase_tax_rate)
# 更新父级
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
parent_account = self.env['account.account.template'].sudo().search([
('code', '=', code),
('chart_template_id', '=', self.id),
('parent_id', '!=', False)
], limit=1)
if len(parent_account) or code == '2221.01.01':
parent_code = parent_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.update({
'parent_id': parent.id,
})
return res

View File

@@ -0,0 +1,34 @@
# -*- 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)
liquidity_type = self.env.ref('account.data_account_type_liquidity')
return {
'name': name,
'currency_id': currency_id or False,
'code': self.env['account.account']._search_new_account_code(company, digits, account_code_prefix),
'user_type_id': liquidity_type and liquidity_type.id or False,
'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,
}

View 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.")

View 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)

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

View File

@@ -0,0 +1,68 @@
<section class="oe_container">
<div class="oe_row oe_spaced">
<div class="oe_span12">
<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: v14.20.06.09</h3>
<div class="oe_span12">
<img class="oe_demo oe_screenshot" 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 Odoo14.
</li>
</ul>
</div>
</div>
<h3 class="oe_slogan">Use super, easy to navigate account data.</h3>
<div class="oe_span12">
<img class="oe_demo oe_screenshot" src="superbar1.png">
</div>
<h3 class="oe_slogan">How to use</h3>
<div class="oe_span12">
<img class="oe_demo oe_screenshot" src="cnreadme.png">
</div>
</div>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced text-center">
<div class="oe_span12">
<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:guohuadeng@hotmail.com"><span
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
<i class="fa fa-envelope"></i> guohuadeng@hotmail.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.sunpop.cn</h4>
</div>
</div>
</div>
<div class="oe_row oe_spaced text-center">
<h1>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=Sunpop.cn">Supop.cn Odoo Addons</a>
</h1>
</div>
</section>

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

View 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='user_type_id']" 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='user_type_id']" 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='name']" 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>

View 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>