税费¶
Original definition from account
¶
- model odoo.addons.account.models.account_tax.AccountTax(env: api.Environment, ids: tuple[IdType, ...], prefetch_ids: Reversible[IdType])[源代码]¶
- _name = account.tax¶
- type_tax_use: str¶
- 必填
- 名称
Tax Type
- Selection
sale
: Salespurchase
: Purchasesnone
: None- 默认
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. ‘adjustment’ is used to perform tax adjustment.
- tax_scope: str¶
- 名称
Tax Scope
- Selection
service
: Servicesconsu
: Goods
Restrict the use of taxes to a type of product.
- amount_type: str¶
- 必填
- 名称
Tax Computation
- Selection
group
: Group of Taxesfixed
: Fixedpercent
: Percentagedivision
: Percentage Tax Included- 默认
percent
- Group of Taxes: The tax is a set of sub taxes.
Fixed: The tax amount stays the same whatever the price.
- Percentage: The tax amount is a % of the price:
e.g 100 * (1 + 10%) = 110 (not price included) e.g 110 / (1 + 10%) = 100 (price included)
- Percentage Tax Included: The tax amount is a division of the price:
e.g 180 / (1 - 10%) = 200 (not price included) e.g 200 * (1 - 10%) = 180 (price included)
- children_tax_ids: Sequence[odoo.fields.Command]¶
- 名称
Children Taxes
- Comodel
- sequence: int¶
- 必填
- 名称
序列
- 默认
1
The sequence field is used to define order in which the tax lines are applied.
- price_include: bool¶
- 名称
Price Include
- 只读
this field is not supposed to/cannot be set manually
- Store
this field is there only for technical reasons
Determines whether the price you use on the product and invoices includes this tax.
- include_base_amount: bool¶
- 名称
Affect Base of Subsequent Taxes
- 默认
假
If set, taxes with a higher sequence than this one will be affected by it, provided they accept it.
- is_base_affected: bool¶
- 名称
Base Affected by Previous Taxes
- 默认
真
If set, taxes with a lower sequence might affect this one, provided they try to do it.
- analytic: bool¶
- 名称
Include in 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]¶
- 名称
Distribution for Invoices
- Comodel
Distribution when the tax is used on an invoice
- refund_repartition_line_ids: Sequence[odoo.fields.Command]¶
- 名称
Distribution for Refund Invoices
- Comodel
Distribution when the tax is used on a refund
- tax_exigibility: str¶
- 名称
Tax Exigibility
- Selection
on_invoice
: Based on Invoiceon_payment
: Based on Payment- 默认
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¶
- 名称
Cash Basis Transition Account
- Comodel
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.