Account

Original definition from account

model odoo.addons.account.models.chart_template.AccountAccountTemplate(env, ids, prefetch_ids)[源代码]
_name = account.account.template
name: str
Required

Name

Name

currency_id: int
Name

Account Currency

Comodel

res.currency

Possible_values

odoo/addons/base/data/res_currency_data.xml

Forces all moves for this account to have this secondary currency.

code: str
Required

Name

Code

account_type: str
Name

Type

Selection

asset_receivable: Receivable asset_cash: Bank and Cash asset_current: Current Assets asset_non_current: Non-current Assets asset_prepayments: Prepayments asset_fixed: Fixed Assets liability_payable: Payable liability_credit_card: Credit Card liability_current: Current Liabilities liability_non_current: Non-current Liabilities equity: Equity equity_unaffected: Current Year Earnings income: Income income_other: Other Income expense: Expenses expense_depreciation: Depreciation expense_direct_cost: Cost of Revenue off_balance: Off-Balance Sheet

These types are defined according to your country. The type contains more information about the account and its specificities.

reconcile: bool
Name

Allow Invoices & payments Matching

Default

False

Check this option if you want the user to reconcile entries in this account.

note: str
Name

Note

tax_ids: Sequence[odoo.fields.Command]
Name

Default Taxes

Comodel

account.tax.template

nocreate: bool
Name

Optional Create

Default

False

If checked, the new chart of accounts will not contain this by default.

chart_template_id: int
Name

Chart Template

Comodel

account.chart.template

This optional field allow you to link an account template to a specific chart template that may differ from the one its root parent belongs to. This allow you to define chart templates that extend another and complete it with few new accounts (You don’t need to define the whole structure that is common to both several times).

tag_ids: Sequence[odoo.fields.Command]
Name

Account tag

Comodel

account.account.tag

Optional tags you may want to assign for custom reporting