Chart Template

Original definition from account

model odoo.addons.account.models.chart_template.AccountChartTemplate[源代码]
_name = account.chart.template
name: str
Required

Name

Name

parent_id: int
Name

Parent Chart Template

Comodel

account.chart.template

code_digits: int
Required

Name

# of Digits

Default

6

No. of Digits to use for account code

visible: bool
Name

Can be Visible?

Default

True

Set this to False if you don’t want this template to be used actively in the wizard that generate Chart of Accounts from templates, this is useful when you want to generate accounts of this template only when loading its child template.

currency_id: int
Required

Name

Currency

Comodel

res.currency

Possible_values

odoo/addons/base/data/res_currency_data.xml

country_id: int
Name

Country

Comodel

res.country

Possible_values

odoo/addons/base/data/res_country_data.xml

The country this chart of accounts belongs to. None if it’s generic.

use_anglo_saxon: bool
Name

Use Anglo-Saxon accounting

Default

False

bank_account_code_prefix: str
Required

Name

Prefix of the bank accounts

cash_account_code_prefix: str
Required

Name

Prefix of the main cash accounts

transfer_account_code_prefix: str
Required

Name

Prefix of the main transfer accounts

account_ids: Sequence[odoo.fields.Command]
Name

Associated Account Templates

Comodel

account.account.template

income_currency_exchange_account_id: int
Name

Gain Exchange Rate Account

Comodel

account.account.template

expense_currency_exchange_account_id: int
Name

Loss Exchange Rate Account

Comodel

account.account.template

account_journal_suspense_account_id: int
Name

Journal Suspense Account

Comodel

account.account.template

account_journal_payment_debit_account_id: int
Name

Journal Outstanding Receipts Account

Comodel

account.account.template

account_journal_payment_credit_account_id: int
Name

Journal Outstanding Payments Account

Comodel

account.account.template

default_cash_difference_income_account_id: int
Name

Cash Difference Income Account

Comodel

account.account.template

default_cash_difference_expense_account_id: int
Name

Cash Difference Expense Account

Comodel

account.account.template

default_pos_receivable_account_id: int
Name

PoS receivable account

Comodel

account.account.template

property_account_receivable_id: int
Name

Receivable Account

Comodel

account.account.template

property_account_payable_id: int
Name

Payable Account

Comodel

account.account.template

property_account_expense_categ_id: int
Name

Category of Expense Account

Comodel

account.account.template

property_account_income_categ_id: int
Name

Category of Income Account

Comodel

account.account.template

property_account_expense_id: int
Name

Expense Account on Product Template

Comodel

account.account.template

property_account_income_id: int
Name

Income Account on Product Template

Comodel

account.account.template

property_stock_account_input_categ_id: int
Name

Input Account for Stock Valuation

Comodel

account.account.template

property_stock_account_output_categ_id: int
Name

Output Account for Stock Valuation

Comodel

account.account.template

property_stock_valuation_account_id: int
Name

Account Template for Stock Valuation

Comodel

account.account.template

property_tax_payable_account_id: int
Name

Tax current account (payable)

Comodel

account.account.template

property_tax_receivable_account_id: int
Name

Tax current account (receivable)

Comodel

account.account.template

property_advance_tax_payment_account_id: int
Name

Advance tax payment account

Comodel

account.account.template

property_cash_basis_base_account_id: int
Name

Base Tax Received Account

Comodel

account.account.template

Account that will be set on lines created in cash basis journal entry and used to keep track of the tax base amount.

Additional fields with l10n_multilang

model odoo.addons.l10n_multilang.models.account.AccountChartTemplate[源代码]

Multi language support for Chart of Accounts, Taxes, Tax Codes, Journals, Accounting Templates, Analytic Chart of Accounts and Analytic Journals.

spoken_languages: str
Name

Spoken Languages

State here the languages for which the translations of templates could be loaded at the time of installation of this localization module and copied in the final object when generating them from templates. You must provide the language codes separated by ‘;’