Skip to main content

Use Odoo tax mechanism to compute the ecotaxes

Project description

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.

Project details


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-17.0.1.0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_account_ecotax_tax-17.0.1.0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 43f11779b8695c77a7078bae3131d418bc87b18aff09fe731db82b44674e28f7
MD5 eb93849a7507b608062c5479d0e5f81b
BLAKE2b-256 c5b4d7fd102d9f8342526ef4f3eb1a47a7c50409834c8f6fe16ed0cbca7b9d4c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page