Taxes

Original definition from account

model odoo.addons.account.models.chart_template.AccountTaxTemplate[源代码]
_name = account.tax.template
chart_template_id: int
Required

Name

Chart Template

Comodel

account.chart.template

name: str
Required

Name

Tax Name

type_tax_use: str
Required

Name

Tax Type

Selection

sale: Sales purchase: Purchases none: None

Default

sale

Determines where the tax is selectable. Note : ‘None’ means a tax can’t be used by itself, however it can still be used in a group.

tax_scope: str
Name

Tax Scope

Selection

service: Service consu: Consumable

Restrict the use of taxes to a type of product.

amount_type: str
Required

Name

Tax Computation

Selection

group: Group of Taxes fixed: Fixed percent: Percentage of Price division: Percentage of Price Tax Included

Default

percent

active: bool
Name

Active

Default

True

Set active to false to hide the tax without removing it.

children_tax_ids: Sequence[odoo.fields.Command]
Name

Children Taxes

Comodel

account.tax.template

sequence: int
Required

Name

Sequence

Default

1

The sequence field is used to define order in which the tax lines are applied.

amount: float
Required

Name

Amount

Default

0

description: str
Name

Display on Invoices

price_include: bool
Name

Included in Price

Default

False

Check this if the price you use on the product and invoices includes this tax.

include_base_amount: bool
Name

Affect Subsequent Taxes

Default

False

If set, taxes with a higher sequence than this one will be affected by it, provided they accept it.

is_base_affected: bool
Name

Base Affected by Previous Taxes

Default

True

If set, taxes with a lower sequence might affect this one, provided they try to do it.

analytic: bool
Name

Analytic Cost

If set, the amount computed by this tax will be assigned to the same analytic account as the invoice line (if any)

invoice_repartition_line_ids: Sequence[odoo.fields.Command]
Name

Repartition for Invoices

Comodel

account.tax.repartition.line.template

Repartition when the tax is used on an invoice

refund_repartition_line_ids: Sequence[odoo.fields.Command]
Name

Repartition for Refund Invoices

Comodel

account.tax.repartition.line.template

Repartition when the tax is used on a refund

tax_group_id: int
Name

Tax Group

Comodel

account.tax.group

tax_exigibility: str
Name

Tax Due

Selection

on_invoice: Based on Invoice on_payment: Based on Payment

Default

on_invoice

Based on Invoice: the tax is due as soon as the invoice is validated. Based on Payment: the tax is due as soon as the payment of the invoice is received.

cash_basis_transition_account_id: int
Name

Cash Basis Transition Account

Comodel

account.account.template

Account used to transition the tax amount for cash basis taxes. It will contain the tax amount as long as the original invoice has not been reconciled ; at reconciliation, this amount cancelled on this account and put on the regular tax account.