Repository
OCA/account-fiscal-rule · module folder · Try on Runboat
Module version
1.0.1
Category
Localization/Account Taxes
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/account-fiscal-rule
Last tracking update
2026-08-07 08:23:14
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
Raphaël Valyi, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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 form 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 form Inherits account.view_tax_form
view_move_line_ecotax_form account.move.line form Inherits account_ecotax.view_move_line_ecotax_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

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')

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
263 days ago
Last activity
97 days ago
Repository
OCA/account-fiscal-rule
Pull request
[18.0][MIG] account_ecotax_tax (#562)
Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
55 days ago
Last activity
55 days ago
Repository
OCA/account-fiscal-rule
Pull request
[19.0][MIG] account_ecotax_tax: Migration to 19.0 (#604)