Skip to content
Health
73/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 6 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 16.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis 0 migration notes 3 models 5 views 0 HTTP endpoints

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.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…

Loading…

Loading…