TIP: You can type at any time to perform a new search.
China - Accounting
l10n_cn · odoo/odoo
Security findings
- Repository
- odoo/odoo · module folder
- Module version
- 1.8
- Category
- Accounting/Localizations/Account Charts
- Folder size
- 1.87 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- Yes
- Website
- https://www.odoo.com/documentation/latest/applications/finance/fiscal_localizations.html
- Last tracking update
- 2026-09-28 18:31:16
- Authors
- openerp-china
- Maintainers
- jeff@osbzr.com
- Committers
- Thibault Delavallée, odoo, Odoo Translation Bot, Tiffany Chang (tic), Gorash, Miquel Raïch, william-andre, Dylan Kiss (dyki), tong-odoo, tanghulu0608, kcv-odoo, mano-odoo, jand-odoo, erle, soza-odoo, pusu-odoo, Smaran (smgo)
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Includes the following data for the Chinese localization ======================================================== Account Type/科目类型 State Data/省份数据 科目类型\会计科目表模板\增值税\辅助核算类别\管理会计凭证簿\财务会计凭证簿 添加中文省份数据 增加小企业会计科目表 修改小企业会计科目表 修改小企业会计税率 增加大企业会计科目表 We added the option to print a voucher which will also print the amount in words (special Chinese characters for numbers) correctly when the cn2an library is installed. (e.g. with pip3 install cn2an)
Code Analysis
Views touched (10)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_move_form_l10n_cn |
l10n_cn.account.move.form | account.move | form | Inherits account.view_move_form |
external_layout_standard |
external_layout_standard | ir.ui.view | qweb | Inherits web.external_layout_standard |
report_voucher |
report_voucher | ir.ui.view | qweb | New |
report_voucher_document |
report_voucher_document | ir.ui.view | qweb | New |
res_config_settings_view_form |
res.config.settings.view.form.inherit.l10n.cn | res.config.settings | form | Inherits account.res_config_settings_view_form |
view_invoice_tree_inherit_i10n_cn |
view.invoice.tree.inherit.i10n.cn | account.move | tree | Inherits account.view_invoice_tree |
view_l10n_cn_balance_deduction_list |
l10n_cn.balance.deduction.list | l10n_cn.balance.deduction | list | New |
view_l10n_cn_balance_deduction_pivot |
l10n_cn.balance.deduction.pivot | l10n_cn.balance.deduction | pivot | New |
view_l10n_cn_balance_deduction_search |
l10n_cn.balance.deduction.search | l10n_cn.balance.deduction | search | New |
view_move_line_form_balance_deduction |
account.move.line.form.l10n_cn.balance.deduction | account.move.line | form | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (9)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (6)
-
fapiaoCharcopy=Falsestring='Fapiao Number'tracking=True -
l10n_cn_differential_taxation_methodSelectionselection=[('01', 'Full Amount Fapiao'), ('02', 'Net Amount Fapiao')]string='VAT Differential Taxation Method' -
l10n_cn_output_vat_offset_move_idsOne2many → account.movecomodel_name='account.move'inverse_name='l10n_cn_output_vat_offset_origin_id'string='Output VAT Offset Entries' -
l10n_cn_output_vat_offset_origin_idMany2one → account.movecomodel_name='account.move'copy=Falseondelete='restrict'string='Output VAT Offset Origin Entry' -
l10n_cn_output_vat_offset_origin_line_idsOne2many → account.move.linecomodel_name='account.move.line'inverse_name='l10n_cn_output_vat_offset_move_id'string='Output VAT Offset Origin Lines' -
l10n_cn_vat_differential_taxationBooleanrelated='company_id.l10n_cn_vat_differential_taxation'
-
action_open_l10n_cn_output_vat_offset_entries(self) -
button_draft(self) -
check_cn2an(self)@api.model
New fields (4)
-
l10n_cn_balance_deduction_idsOne2many → l10n_cn.balance.deductioncheck_company=Truecomodel_name='l10n_cn.balance.deduction'inverse_name='move_line_id'string='Balance Deductions' -
l10n_cn_differential_taxation_methodSelectionrelated='move_id.l10n_cn_differential_taxation_method' -
l10n_cn_output_vat_offset_account_idMany2one → account.accountcheck_company=Truecomodel_name='account.account'default=<expr>domain="[('account_type', '=', 'liability_current')]"string='Output VAT Offset Account' -
l10n_cn_output_vat_offset_move_idMany2one → account.movecheck_company=Truecomodel_name='account.move'copy=Falsestring='Output VAT Offset Entry'
-
action_open_l10n_cn_balance_deduction(self) -
action_reset_balance_deduction_to_draft(self)Reset balance deduction information to draft for full-amount differential taxation (method '01'). Reverses and reconciles the linked Output VAT offset move—preserving the audit trail—and clears the offset move reference. -
action_save_l10n_cn_balance_deduction(self)Save balance deduction details and generate the Output VAT offset move if the invoice is already posted. For full-amount differential taxation (method '01'), creating or updating balance deduction info on a posted invoice automatically creates and posts the corresponding Output VAT offset move.
New fields (0)
No new fields.
Public methods (1)-
default_get(self, fields_list)@api.model
New fields (22)
-
accounting_dateDaterelated='move_line_id.l10n_cn_output_vat_offset_move_id.date'string='Accounting Date' -
company_idMany2oneindex=Trueprecompute=Truereadonly=Truerelated='move_line_id.company_id'store=True -
currency_idMany2onerelated='move_line_id.currency_id' -
deduct_amountMonetarystring='Deduct Amount' -
e_fapiao_numberCharstring='E-Fapiao Number' -
expense_account_idMany2one → account.accountcheck_company=Truecomodel_name='account.account'string='Expense Account' -
fapiao_numberCharrelated='move_line_id.move_id.fapiao'string='Fapiao Number' -
invoice_dateDaterelated='move_line_id.invoice_date'string='Invoice Date' -
invoice_numberCharrelated='move_line_id.move_id.name'string='Invoice Number' -
issue_dateDatestring='Issue Date' -
move_line_idMany2one → account.move.linecomodel_name='account.move.line'ondelete='cascade'required=True -
move_typeSelectionrelated='move_line_id.move_id.move_type'string='Type' -
output_vat_offset_move_idMany2onecheck_company=Truerelated='move_line_id.l10n_cn_output_vat_offset_move_id'string='Journal Entry' -
product_idMany2onecheck_company=Truerelated='move_line_id.product_id'string='Product' -
receipt_codeCharstring='Receipt Code' -
receipt_numberCharstring='Receipt Number' -
remarksTextstring='Remarks' -
tax_inclusive_amountMonetaryrelated='move_line_id.price_total'string='Tax Inclusive Amount' -
vat_differential_taxationSelectionrelated='move_line_id.move_id.l10n_cn_differential_taxation_method'string='VAT Differential Taxation' -
voucher_numberCharstring='Voucher Number' -
voucher_totalMonetarystring='Voucher Total' -
voucher_typeSelectionselection=[('10', 'Special VAT Fapiao'), ('11', 'General VAT Fapiao'), ('12', 'Customs Import VAT Special Payment Receipt'), ('13', 'Itinerary Receipt of E-Ticket'), ('14', 'Electronic Railway Ticket'), ('15', 'Tax Payment Certificate (Deed Tax)'), ('16', 'Uniform Receipt for Central Non-Tax Revenue (Land Transfer Premium)'), ('05', 'Fiscal Receipt'), ('06', 'Court Ruling'), ('09', 'Other Proof of Deduction')]string='Voucher Type'
No public methods.
New fields (3)
-
l10n_cn_output_vat_offset_account_idMany2one → account.accountcomodel_name='account.account'domain="[('account_type', '=', 'liability_current')]"string='Output VAT Offset Account' -
l10n_cn_output_vat_offset_journal_idMany2one → account.journalcomodel_name='account.journal'domain="[('type', '=', 'general')]"string='Output VAT Offset Journal' -
l10n_cn_vat_differential_taxationBooleanstring='VAT Differential Taxation'
No public methods.
New fields (3)
-
l10n_cn_output_vat_offset_account_idMany2onereadonly=Falserelated='company_id.l10n_cn_output_vat_offset_account_id' -
l10n_cn_output_vat_offset_journal_idMany2onereadonly=Falserelated='company_id.l10n_cn_output_vat_offset_journal_id' -
l10n_cn_vat_differential_taxationBooleanreadonly=Falserelated='company_id.l10n_cn_vat_differential_taxation'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…