Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

16.0 mig l10n fr ecotaxe #448

Merged
merged 54 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
f66aeb3
Add custome profile module + account config
mourad-ehm Nov 4, 2015
bc9d998
FIX bug compute ecotaxe
mourad-ehm Nov 20, 2015
ddfb497
Add ecotaxe classification
mourad-ehm Nov 20, 2015
246d71b
ADD eco taxes classification
mourad-ehm Nov 23, 2015
3a140b4
Remove commented code
mourad-ehm Nov 23, 2015
48ad66f
[FIX] bug non compliant picking location dest
mourad-ehm Dec 1, 2015
0acd7cd
Add base exotaxe (weight or qty) + change relation many2many between …
mourad-ehm Dec 1, 2015
7f40fba
[FIX] compute generic base for account.invoice.taxe
mourad-ehm Dec 3, 2015
5782f7b
[FIX] bug off binary fileds + code format
mourad-ehm Dec 4, 2015
20d489a
[FIX] move ecotaxte to product template
mourad-ehm Mar 2, 2016
cf1fc17
[FIX] Clean Code
mourad-ehm May 19, 2016
158a29d
[FIX] Add on change ecotaxe classification on product template
mourad-ehm May 31, 2016
1c87074
[FIX] pylint code
mourad-ehm May 31, 2016
3b3d709
Fix Typo
mourad-ehm May 31, 2016
e267781
typo
May 31, 2016
d7815a8
[FIX] Clean code
mourad-ehm Jun 17, 2016
a169859
[FIX] add README.rst
mourad-ehm Jun 17, 2016
514ca23
[IMP] add decimal precision to ecotaxe_coef
bealdav Jul 7, 2016
71cfc97
[FIX] bugs and remarks from code review
mourad-ehm Aug 31, 2016
81f3961
OCA Transbot updated translations from Transifex
oca-transbot May 20, 2017
07d3aea
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
de6faf2
[UPD] Update l10n_fr_ecotaxe.pot
oca-travis Jun 23, 2018
186022b
[FIX] Pylint
StefanRijnhart Jul 5, 2018
2c4b251
[MIG] module l10n_fr_ecotaxe to 12.0
mourad-ehm Jul 21, 2020
a9fab0a
[FIX] split l10n_fr_ecotaxe in 3 modules (add l10n_fr_ecotaxe_sale, l…
mourad-ehm Jul 24, 2020
1b8b369
[FIX] add test
mourad-ehm Aug 26, 2020
a5d2a91
[FIX] add sale & purchase ecotaxe test + format code
mourad-ehm Aug 26, 2020
01f8b72
[FIX] readme files
mourad-ehm Aug 26, 2020
09073a9
[IMP] product view
mourad-ehm Nov 25, 2020
13e09ad
[FIX] add model _description
mourad-ehm Nov 30, 2021
08b7a94
[IMP] l10n_fr_ecotaxe: black, isort, prettier
SilvioC2C Dec 15, 2021
c88da04
[MIG] l10n_fr_ecotaxe: Migration to 15.0
SilvioC2C Dec 15, 2021
5f56e3e
[UPD] Update l10n_fr_ecotaxe.pot
Mar 4, 2022
6465928
[UPD] README.rst
OCA-git-bot Mar 4, 2022
9f9f280
Translated using Weblate (French)
ajaniszewska-dev Mar 6, 2022
590faff
fixup! [MIG] l10n_fr_ecotaxe_sale: Migration to 15.0
gurneyalex May 12, 2022
b68cef2
Translated using Weblate (Italian)
francesco-ooops Dec 29, 2022
ed156de
Translated using Weblate (Italian)
francesco-ooops Jan 2, 2023
3133c93
Translated using Weblate (Italian)
francesco-ooops Jan 3, 2023
e4a491d
Translated using Weblate (Italian)
francesco-ooops Jan 18, 2023
40e982b
Translated using Weblate (Italian)
francesco-ooops Feb 1, 2023
ccf6250
Translated using Weblate (Italian)
mymage Apr 10, 2023
5c2294f
Translated using Weblate (Italian)
mymage Apr 17, 2023
1d9371d
Translated using Weblate (Italian)
mymage May 12, 2023
8ce2743
[IMP] l10n_fr_ecotaxe: pre-commit execution
mourad-ehm May 15, 2023
f065dad
[MIG] l10n_fr_ecotaxe: Migration to 16.0
mourad-ehm May 15, 2023
f24ddbf
[FIX][16.0] l10n_fr_ecotaxe: fix views & test
mourad-ehm May 15, 2023
19fec37
[16.0][IMP] manage ecotaxe for product variants
mourad-ehm Dec 12, 2023
d7c7cf9
[16.0][IMP] add ecotaxe sector and collector
mourad-ehm Dec 12, 2023
da51838
[16.0][FIX] l10n_fr_ecotaxe: don't display ecotaxe on vendor invoices
mourad-ehm Jan 2, 2024
5248178
[FIX] Add read rights for reaonly accounting group
florian-dacosta Jan 9, 2024
cd691c9
[16.0][FIX] pre-commit
mourad-ehm Jan 11, 2024
38f0f04
[16.0][IMP] rename fields in l10n_fr_ecotaxe module
mourad-ehm Jan 30, 2024
a046ea6
[16.0][FIX] fix amount digits precision & view update error
mourad-ehm Feb 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 120 additions & 0 deletions l10n_fr_ecotaxe/README.rst
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.
1 change: 1 addition & 0 deletions l10n_fr_ecotaxe/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
28 changes: 28 additions & 0 deletions l10n_fr_ecotaxe/__manifest__.py
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,
}
7 changes: 7 additions & 0 deletions l10n_fr_ecotaxe/data/decimal_precision.xml
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>
Loading
Loading