Skip to main content
Odoo Community Association

Ecotax Management (with Odoo tax)

Beta License: AGPL-3 OCA/account-fiscal-rule Translate me on Weblate Try me on Runboat

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

  1. Create a tax group named “Ecotaxes”. The sequence must be lower than other tax groups.

    • Set the Preceding Subtotal field to “Without Ecotax”.

  2. 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.

  3. For VAT taxes, check the Base Affected by Previous Taxes? option.

  4. 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.

  5. Assign one or more ecotax classifications to a product.

    • The ecotax amount can also be manually overridden on the product.

Known issues / Roadmap

Since an update in Odoo https://github.com/odoo/odoo/commit/13e9833e0bc809a26843890363586f61a37d061c the case with ecotax as tax included and another tax included does not work anymore. The ecotax tax should only be used along with price excluded tax, or be configured as price excluded itself.

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

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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:

mourad-ehm florian-dacosta

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_account_ecotax_tax-18.0.1.0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_account_ecotax_tax-18.0.1.0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b1759ed7a422611dcac04f2b9e8c08bfd6ad4c9878e1719b5e8119abba5d1ea1
MD5 0e5fe226c48789b07340fb786e0d6c99
BLAKE2b-256 653e1c16dbac22d92f2b2b0c78372903eda7b89a8408af8506cbec05ba8488f3

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

18.0.1.0.1.2 This release

1 file

17.0.1.0.1.2

1 file

16.0.2.0.0.2

1 file

16.0.2.0.0

1 file

16.0.1.0.1

1 file

16.0.1.0.0.7

1 file

16.0.1.0.0.5

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page