Ecotax Management (with Odoo tax)
Use Odoo tax mechanism to compute the ecotaxes
Ecotax Management (with Odoo tax)
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.
Table of contents
Usage
Create a tax group named "Ecotaxes". The sequence must be lower than other tax groups. - Set the Preceding Subtotal field to "Without Ecotax".
Create two taxes named "Fixed Ecotax" and "Weight-Based Ecotax". - Check the Ecotax checkbox. - Set the correct Python code:
For the fixed ecotax:
result = quantity and product.fixed_ecotax * quantity or 0.0
For the weight-based ecotax:
result = quantity and product.weight_based_ecotax * quantity or 0.0
- Check the Included in Base Amount option.
- The sequence for Ecotax must be lower than the VAT tax.
For VAT taxes, check the Base Affected by Previous Taxes? option.
Add an ecotax classification via the menu Accounting > Configuration > Taxes > Ecotax Classification.
- The ecotax classification can be either a fixed ecotax or a weight-based ecotax.
- Ecotax classification information can be used for legal declarations.
- For the fixed ecotax, the ecotax amount is used as a default value, which can be overridden on the product.
- For the weight-based ecotax, define one ecotax by a coefficient applied to the weight (depending on the product's materials).
- Set the appropriate tax in the Sale Ecotax field.
Assign one or more ecotax classifications to a product.
- The ecotax amount can also be manually overridden on the product.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- Akretion
Contributors
- Mourad EL HADJ MIMOUNE <mourad.elhadj.mimoune@akretion.com>
- Florian da Costa <florian.dacosta@akretion.com>
Maintainers
This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Current maintainers:
This module is part of the OCA/account-fiscal-rule project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Once the user has seen at least one product this snippet will be visible.