France Custom Ecotaxe

l10n_fr_ecotaxe
REPOSITORY
REPOSITORYOCA/l10n-france
GIT
GIThttps://github.com/OCA/l10n-france.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-france/tree/15.0/l10n_fr_ecotaxe
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalization/Account Taxes
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexandre Fayolle, OCA Transbot, Weblate, OCA-git-bot, SilvioC2C, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-france
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:43
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
ecotaxe_category_form account.ecotaxe.category form New
ecotaxe_category_search account.ecotaxe.category search New
ecotaxe_category_tree account.ecotaxe.category tree New
ecotaxe_classification_form account.ecotaxe.classification form New
ecotaxe_classification_search account.ecotaxe.classification search New
ecotaxe_classification_tree account.ecotaxe.classification tree New
product_template_form_ecotaxe product.template.ecotaxe.form product.template xpath Inherits product.product_template_form_view
view_move_form_inherit l10n_fr_ecotaxe.move.form account.move xpath Inherits account.view_move_form
Models touched (5)

New fields (3)
  • code Char
    required=True
  • description Char
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (12)
  • account_ecotaxe_categ_id Many2one → account.ecotaxe.category
    comodel_name='account.ecotaxe.category' string='Ecotaxe category'
  • active Boolean
    default=True
  • code Char
  • company_id Many2one → res.company
    comodel_name='res.company' default=_default_company_id help='Specify a company if you want to define this Ecotaxe Classification only for specific company. Otherwise, this Fiscal Classification will be available for all companies.'
  • default_fixed_ecotaxe Float
    help='Default fixed ecotaxe amount.'
  • ecotaxe_coef Float
    digits='Ecotaxe'
  • ecotaxe_deb_code Char
  • ecotaxe_product_status Selection
    required=True string='Product Status' args: [('M', 'Menager'), ('P', 'Professionnel')]
  • ecotaxe_scale_code Char
  • ecotaxe_supplier_status Selection
    help="FAB ==> Fabricant : est établi en France et fabrique des EEE\nsous son propre nom ou sa propre marque, ou fait concevoir ou\n fabriquer des EEE et les commercialise sous\n son propre nom et sa propre marque\nREV ==> Revendeur sous sa marque : est établi en France et vend,\n sous son propre nom ou sa propre marque des EEE produits\n par d'autres fournisseursINT ==> Introducteur : est établi en France et met sur le marché\ndes EEE provenant d'un autre Etat membreIMP ==> Importateur : est établi en France et met sur marché\ndes EEE provenant de pays hors Union EuropéenneDIS ==> Vendeur à distance : est établie dans un autre Etat\nmembre ou dans un pays tiers et vend en France des EEE par\ncommunication à distance" required=True string='Supplier Status' args: [('FAB', 'Fabricant'), ('REV', 'Revendeur sous sa marque'), ('INT', 'Introducteur'), ('IMP', 'Importateur'), ('DIS', 'Vendeur à distance')]
  • ecotaxe_type Selection
    help='If ecotaxe is weight based,the ecotaxe coef must take into account\nthe weight unit of measure (kg by default)' required=True args: [('fixed', 'Fixed'), ('weight_based', 'Weight based')]
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (1)
  • amount_ecotaxe Monetary
    compute='_compute_ecotaxe' store=True string='Included Ecotaxe'
Public methods (0)

No public methods.

New fields (2)
  • subtotal_ecotaxe Float
    compute='_compute_ecotaxe' store=True
  • unit_ecotaxe_amount Float
    compute='_compute_ecotaxe' store=True string='Ecotaxe Unit.'
Public methods (0)

No public methods.

New fields (3)
  • ecotaxe_amount Monetary
    compute='_compute_ecotaxe' help='Ecotaxe Amount computed form Classification' store=True
  • ecotaxe_classification_id Many2one → account.ecotaxe.classification
    string='Ecotaxe Classification' args: 'account.ecotaxe.classification'
  • manual_fixed_ecotaxe Monetary
    help='Manual Fixed ecotaxe.\nAllow to subtite default Ecotaxe Classification\n'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-france
GIT
GIThttps://github.com/OCA/l10n-france.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-france/tree/8.0/l10n_fr_ecotaxe
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYLocalization/Account Taxes
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSSylvain LE GAL, david, Stéphane Bidoul (ACSONE), OCA Transbot, David Beal, oca-travis, Weblate, Mourad Elhadj Mimoune, mourad-ehm, Mourad
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:27
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account_accountant
    - account_voucher
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
    - sale
    - sales_team
    - web_kanban_sparkline
    - procurement
    - purchase
    - stock_account
    - stock
    - web_kanban_gauge
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (10)
XML IDNameModelTypeStatus
ecotaxe_classification_form account.ecotaxe.classification form New
ecotaxe_classification_tree account.ecotaxe.classification tree New
invoice_form l10n_fr_ecotaxe.customer.invoice.form account.invoice xpath Inherits account.invoice_form
invoice_supplier_form l10n_fr_ecotaxe.supplier.invoice.form account.invoice xpath Inherits account.invoice_supplier_form
product_product_form_ecotaxe product.product.ecotaxe.form product.product field Inherits product.product_normal_form_view
product_template_form_ecotaxe product.template.ecotaxe.form product.template xpath Inherits product.product_template_form_view
tax_form l10n_fr_ecotaxe.account.tax.form account.tax field Inherits account.view_tax_form
view_account_fiscalyear_search account.ecotaxe.classification search New
view_order_form l10n_fr_ecotaxe.sale.line.form sale.order field Inherits sale.view_order_form
view_purchase_order_form l10n_fr_ecotaxe.purchase.line.form purchase.order field Inherits purchase.purchase_order_form
Models touched (12)

New fields (9)
  • active Boolean
    default=True
  • code Char
    args: 'Code'
  • company_id Many2one → res.company
    comodel_name='res.company' default=_default_company_id help='Specify a company if you want to define this Ecotaxe Classification only for specific company. Otherwise, this Fiscal Classification will be available for all companies.' string='Company'
  • ecotaxe_coef Float
    digits=dp.get_precision('Ecotaxe') string='Ecotaxe Coef'
  • ecotaxe_type Selection
    help='If ecotaxe is weight based,the ecotaxe coef must take into account\nthe weight unit of measure (kg by default)' required=True string='Ecotaxe Type' args: [('fixed', 'Fixed'), ('weight_based', 'Weight based')]
  • fixed_ecotaxe Float
    help='fixed ecotaxe amount.\n' string='Fixed Ecotaxe'
  • name Char
    required=True args: 'Name'
  • purchase_ecotaxe_id Many2one → account.tax
    domain=[('is_ecotaxe', '=', True), ('parent_id', '=', False), ('type_tax_use', 'in', ['purchase', 'all'])] required=True string='Purchase EcoTaxe' args: 'account.tax'
  • sale_ecotaxe_id Many2one → account.tax
    domain=[('is_ecotaxe', '=', True), ('parent_id', '=', False), ('type_tax_use', 'in', ['sale', 'all'])] required=True string='Sale EcoTaxe' args: 'account.tax'
Public methods (1)
  • onchange_ecotaxe_type(self)
    @api.onchange('ecotaxe_type')

New fields (3)
  • amount_ecotaxe Float
    compute='_compute_ecotaxe' store=True string='Included Ecotaxe'
  • amount_tax_without_ecotaxe Float
    compute='_compute_ecotaxe' store=True string='Other Taxes'
  • amount_untaxed_with_ecotaxe Float
    compute='_compute_ecotaxe' store=True args: 'Untaxed Amount with Ecotaxe'
Public methods (0)

No public methods.

New fields (1)
  • amount_ecotaxe Float
    compute='_compute_ecotaxe' store=True string='Ecotaxe'
Public methods (0)

No public methods.

New fields (1)
  • generic_base Float
    compute='_compute_generic_base' help='Generic base is used to get different base depending on ecotaxe type. For fixed taxe generic base is the qty sum of all product liable to this taxe. For wight base ecotaxe the geneic base is the weight sum of all product liable to this taxe' store=True string='Generic base'
Public methods (0)

No public methods.

New fields (1)
  • is_ecotaxe Boolean
    help='Warning : To include Ecotaxe in the VAT tax check this :\n1: check "included in base amount "\n2: The Ecotaxe sequence must be less then VAT tax (in sale and purchase)' args: 'Ecotaxe'
Public methods (1)
  • onchange_is_ecotaxe(self)
    @api.onchange('is_ecotaxe')

New fields (3)
  • default_fixed_ecotaxe Float
    help='Default value of fixed ecotaxe.\nThis value is set when you choise the category \non creating a new product (triged by on change product category)\nSet this field to 0 if you want not default value' args: 'Fixed Ecotaxe'
  • ecotaxe_coef Float
    args: 'Ecotaxe Coef'
  • ecotaxe_type Selection
    help='If ecotaxe is weight based,the ecotaxe coef must take into account\nthe weight unit of measure (kg by default)' string='Ecotaxe Type' args: [('fixed', 'Fixed'), ('weight_based', 'Weight based')]
Public methods (1)
  • onchange_ecotaxe_type(self)
    @api.onchange('ecotaxe_type')

New fields (2)
  • computed_ecotaxe Float
    compute='_compute_ecotaxe' help='Ecotaxe value :\nproduct weight * ecotaxe coef of Ecotaxe Classification\n' args: 'Coputed Ecotaxe'
  • fixed_ecotaxe Float
    compute='_compute_ecotaxe' help='Fixed ecotaxe of the Ecotaxe Classification\n' args: 'Fixed Ecotaxe'
Public methods (1)
  • onchange_ecotaxe_classification_ids(self)
    @api.onchange('ecotaxe_classification_ids')

New fields (1)
  • ecotaxe_classification_ids Many2many → account.ecotaxe.classification
    string='Ecotaxe Classification' args: 'account.ecotaxe.classification', 'product_template_rel_ecotaxe_classif'
Public methods (1)
  • onchange_ecotaxe_classification_ids(self)
    @api.onchange('ecotaxe_classification_ids')

New fields (3)
  • amount_ecotaxe Float
    compute='_compute_ecotaxe' store=True string='Included Ecotaxe'
  • amount_tax_without_ecotaxe Float
    compute='_compute_ecotaxe' store=True string='Other Taxes'
  • amount_untaxed_with_ecotaxe Float
    compute='_compute_ecotaxe' store=True args: 'Untaxed Amount with Ecotaxe'
Public methods (0)

No public methods.

New fields (1)
  • amount_ecotaxe Float
    compute='_compute_ecotaxe' store=True string='Ecotaxe'
Public methods (0)

No public methods.

New fields (3)
  • amount_ecotaxe Float
    compute='_compute_ecotaxe' store=True string='Included Ecotaxe'
  • amount_tax_without_ecotaxe Float
    compute='_compute_ecotaxe' store=True string='Other Taxes'
  • amount_untaxed_with_ecotaxe Float
    compute='_compute_ecotaxe' store=True args: 'Untaxed Amount with Ecotaxe'
Public methods (0)

No public methods.

New fields (1)
  • amount_ecotaxe Float
    compute='_compute_ecotaxe' store=True string='Ecotaxe'
Public methods (0)

No public methods.