-
-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by gurneyalex
- Loading branch information
Showing
109 changed files
with
26,734 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
===================== | ||
France Custom Ecotaxe | ||
===================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:23479e79cea1c7653013329021c55bf27b1d6fa0d64734b13f53ca3209feaffa | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--france-lightgray.png?logo=github | ||
:target: https://github.com/OCA/l10n-france/tree/16.0/l10n_fr_ecotaxe | ||
:alt: OCA/l10n-france | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/l10n-france-16-0/l10n-france-16-0-l10n_fr_ecotaxe | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-france&target_branch=16.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module applies to companies based in France mainland. It doesn't apply to | ||
companies based in the DOM-TOMs (Guadeloupe, Martinique, Guyane, Réunion, | ||
Mayotte). | ||
|
||
It add Ecotaxe amount on invoice line. | ||
furthermore, a total ecotaxe are added at the footer of each document. | ||
|
||
To make easy ecotaxe management and to factor the data, ecotaxe are set on products via ECOTAXE classifications. | ||
ECOTAXE classification can either a fixed or weight based ecotaxe. | ||
|
||
A product can have one or serveral ecotaxe classifications. For exemple wooden window blinds equipped with electric motor can | ||
have ecotaxe for wood and ecotaxe for electric motor. | ||
|
||
This module version add the possibility to manage several ecotaxe classification by product. | ||
A migration script is necessary to update from previous versions. | ||
|
||
There is the main change to manage in migration script: | ||
|
||
renamed field | ||
model old field new field | ||
account.move.line unit_ecotaxe_amount ecotaxe_amount_unit | ||
product.template manual_fixed_ecotaxe force_ecotaxe_amount | ||
|
||
changed fields | ||
model old field new field | ||
product.template ecotaxe_classification_id ecotaxe_classification_ids | ||
|
||
added fields | ||
model new field | ||
account.move.line ecotaxe_line_ids | ||
product.template ecotaxe_line_product_ids | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
Add ecotaxe classification via the menu *Accounting > configuration > Taxes > Ecotaxe Classification*. | ||
Ecotaxe classification is either a fixed ecotaxe or weight based ecotaxe. | ||
ecotaxe classification Infos can be used for legal declarations. | ||
For fixed ecotaxe, ecotaxe amount is used as default value. We can for ecotaxe amount on product. | ||
|
||
For weight based ecotaxe, we should define one ecotaxe by coef applied for the weight (depending on product materials). | ||
|
||
Assign one or more ecotaxe classification to a product. | ||
|
||
we can also force amount ecotaxe on account move line by classification. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-france/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 <https://github.com/OCA/l10n-france/issues/new?body=module:%20l10n_fr_ecotaxe%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
~~~~~~~ | ||
|
||
* Akretion | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Mourad EL HADJ MIMOUNE <[email protected]> | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
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. | ||
|
||
This module is part of the `OCA/l10n-france <https://github.com/OCA/l10n-france/tree/16.0/l10n_fr_ecotaxe>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# © 2014-2023 Akretion (http://www.akretion.com) | ||
# @author Mourad EL HADJ MIMOUNE <[email protected]> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
{ | ||
"name": "France Custom Ecotaxe", | ||
"summary": "Use Ecotaxe in French localisation contexte", | ||
"version": "16.0.2.0.0", | ||
"author": "Akretion, Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/l10n-france", | ||
"category": "Localization/Account Taxes", | ||
"license": "AGPL-3", | ||
"depends": [ | ||
"account", | ||
], | ||
"data": [ | ||
"data/decimal_precision.xml", | ||
"security/ir_rule.xml", | ||
"security/ir.model.access.csv", | ||
"views/account_ecotaxe_category_view.xml", | ||
"views/ecotaxe_sector_view.xml", | ||
"views/ecotaxe_collector_view.xml", | ||
"views/account_ecotaxe_classification_view.xml", | ||
"views/account_move_view.xml", | ||
"views/product_template_view.xml", | ||
"views/product_view.xml", | ||
], | ||
"installable": True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo noupdate="1"> | ||
<record id="ecotaxe_decimal" model="decimal.precision"> | ||
<field name="name">Ecotaxe</field> | ||
<field name="digits">4</field> | ||
</record> | ||
</odoo> |
Oops, something went wrong.