Ecotax Management (with Odoo tax)

account_ecotax_tax
REPOSITORY
REPOSITORYOCA/account-fiscal-rule
GIT
GIThttps://github.com/OCA/account-fiscal-rule.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-fiscal-rule/tree/17.0/account_ecotax_tax
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYLocalization/Account Taxes
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSRaphaël Valyi, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-fiscal-rule
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:19:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-fiscal-rule:
    - account_ecotax
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - account_tax_python
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows to compute the ecotax amounts from Odoo tax
mechanism. The advantages compared to the base account_ecotax module is
that it allows to : - Manage ecotax amount as included or excluded from
the price of the product - Isolate the amount of the ecotax in a
specific accounting account (set on the tax)

Then the ecotax amounts are not considered as turnover, which could be
good or not depending on your country's legislation or accountant
preferences.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
document_tax_totals document_tax_totals ir.ui.view qweb Inherits account.document_tax_totals
ecotax_classification_form account.ecotax.classification xpath Inherits account_ecotax.ecotax_classification_form
report_invoice_document report_invoice_document ir.ui.view qweb Inherits account.report_invoice_document
tax_form l10n_fr_ecotax.account.tax.form account.tax field Inherits account.view_tax_form
view_move_line_ecotax_form account.move.line field Inherits account_ecotax.view_move_line_ecotax_form
Models touched (3)

New fields (2)
  • purchase_ecotax_ids Many2many → account.tax
    domain=[('is_ecotax', '=', True), ('type_tax_use', '=', 'purchase')] string='Purchase EcoTax' args: 'account.tax', 'ecotax_classif_purchase_taxes_rel', 'ecotax_classif_id', 'tax_id'
  • sale_ecotax_ids Many2many → account.tax
    domain=[('is_ecotax', '=', True), ('type_tax_use', '=', 'sale')] string='Sale EcoTax' args: 'account.tax', 'ecotax_classif_taxes_rel', 'ecotax_classif_id', 'tax_id'
Public methods (0)

No public methods.

New fields (2)
  • ecotax_amount_unit Float
    compute='_compute_ecotax_tax'
  • subtotal_ecotax Float
    compute='_compute_ecotax_tax'
Public methods (0)

No public methods.

New fields (1)
  • is_ecotax Boolean
    help='Warning : To include Ecotax in the VAT tax check this :\n1: check "included in base amount "\n2: The Ecotax sequence must be less then VAT tax (in sale and purchase)' args: 'Ecotax'
Public methods (1)
  • onchange_is_ecotax(self)
    @api.onchange('is_ecotax')
REPOSITORY
REPOSITORYOCA/account-fiscal-rule
GIT
GIThttps://github.com/OCA/account-fiscal-rule.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-fiscal-rule/tree/16.0/account_ecotax_tax
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYLocalization/Account Taxes
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSFlorian da Costa, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-fiscal-rule
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:43
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-fiscal-rule:
    - account_ecotax
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - account_tax_python
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
document_tax_totals document_tax_totals ir.ui.view qweb Inherits account.document_tax_totals
ecotax_classification_form account.ecotax.classification xpath Inherits account_ecotax.ecotax_classification_form
report_invoice_document report_invoice_document ir.ui.view qweb Inherits account.report_invoice_document
tax_form l10n_fr_ecotax.account.tax.form account.tax field Inherits account.view_tax_form
view_move_line_ecotax_form account.move.line field Inherits account_ecotax.view_move_line_ecotax_form
Models touched (4)

New fields (2)
  • purchase_ecotax_ids Many2many → account.tax
    domain=[('is_ecotax', '=', True), ('type_tax_use', '=', 'purchase')] string='Purchase EcoTax' args: 'account.tax', 'ecotax_classif_purchase_taxes_rel', 'ecotax_classif_id', 'tax_id'
  • sale_ecotax_ids Many2many → account.tax
    domain=[('is_ecotax', '=', True), ('type_tax_use', '=', 'sale')] string='Sale EcoTax' args: 'account.tax', 'ecotax_classif_taxes_rel', 'ecotax_classif_id', 'tax_id'
Public methods (0)

No public methods.

New fields (2)
  • ecotax_amount_unit Float
    compute='_compute_ecotax_tax'
  • subtotal_ecotax Float
    compute='_compute_ecotax_tax'
Public methods (0)

No public methods.

New fields (1)
  • is_ecotax Boolean
    help='Warning : To include Ecotax in the VAT tax check this :\n1: check "included in base amount "\n2: The Ecotax sequence must be less then VAT tax (in sale and purchase)' args: 'Ecotax'
Public methods (1)
  • onchange_is_ecotax(self)
    @api.onchange('is_ecotax')

New fields (0)

No new fields.

Public methods (1)
  • check_ecotax_line_country(self)
    @api.constrains('additional_ecotax_line_product_ids', 'ecotax_line_product_ids')
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/account-fiscal-rule
PULL REQUEST
PULL REQUEST[18.0][MIG] account_ecotax_tax (#562)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/account-fiscal-rule
PULL REQUEST
PULL REQUEST[19.0][MIG] account_ecotax_tax: Migration to 19.0 (#604)