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.

There is a limitation with the country restriction on ecotax classification when using the account_ecotax_tax and account_ecotax_sale_tax modules.OIt is currently not possible to have multiple classificaiton restricted to different countries for a same 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

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

File metadata

File hashes

Hashes for odoo_addon_account_ecotax_tax-16.0.2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0dc6f6c6058d1dcc8aff564d7a405d0acdd35e308904e8b9f0bba51c4c4f9a0e
MD5 a7b9e41e9a8cbb9f639f2d67ddcde4d9
BLAKE2b-256 522ab403a1d0cb54a4c8977d4833c66ee48c32f8cd1be29bca7bc40f495c2318

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