Account

Original definition from account

model odoo.addons.account.models.chart_template.AccountAccountTemplate[源代码]
_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

user_type_id: int
Required

Name

Type

Comodel

account.account.type

Possible_values

addons/account/data/data_account_type.xml

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