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

[17.0][MIG] l10n_fr_ecotaxe: Migration to 17.0 #550

Merged
merged 40 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
b6194a0
Add custome profile module + account config
mourad-ehm Nov 4, 2015
731831b
FIX bug compute ecotaxe
mourad-ehm Nov 20, 2015
fe047b3
Add ecotaxe classification
mourad-ehm Nov 20, 2015
529fda7
ADD eco taxes classification
mourad-ehm Nov 23, 2015
7129298
Remove commented code
mourad-ehm Nov 23, 2015
479544c
[FIX] bug non compliant picking location dest
mourad-ehm Dec 1, 2015
8413854
Add base exotaxe (weight or qty) + change relation many2many between …
mourad-ehm Dec 1, 2015
d462f2b
[FIX] compute generic base for account.invoice.taxe
mourad-ehm Dec 3, 2015
957f344
[FIX] bug off binary fileds + code format
mourad-ehm Dec 4, 2015
4fd60ac
[FIX] move ecotaxte to product template
mourad-ehm Mar 2, 2016
0d8b043
[FIX] Clean Code
mourad-ehm May 19, 2016
7839c02
[FIX] Add on change ecotaxe classification on product template
mourad-ehm May 31, 2016
f8b470e
[FIX] pylint code
mourad-ehm May 31, 2016
6207303
Fix Typo
mourad-ehm May 31, 2016
96b8750
typo
May 31, 2016
ee06dfe
[FIX] Clean code
mourad-ehm Jun 17, 2016
0c660fc
[FIX] add README.rst
mourad-ehm Jun 17, 2016
259a536
[IMP] add decimal precision to ecotaxe_coef
bealdav Jul 7, 2016
baffbf4
[FIX] bugs and remarks from code review
mourad-ehm Aug 31, 2016
9446878
[FIX] Pylint
StefanRijnhart Jul 5, 2018
9aff0b6
[MIG] module l10n_fr_ecotaxe to 12.0
mourad-ehm Jul 21, 2020
dffeaf9
[FIX] split l10n_fr_ecotaxe in 3 modules (add l10n_fr_ecotaxe_sale, l…
mourad-ehm Jul 24, 2020
c785a44
[FIX] add test
mourad-ehm Aug 26, 2020
5f96cf7
[FIX] add sale & purchase ecotaxe test + format code
mourad-ehm Aug 26, 2020
9324237
[FIX] readme files
mourad-ehm Aug 26, 2020
49b1c57
[IMP] product view
mourad-ehm Nov 25, 2020
a656ebd
[FIX] add model _description
mourad-ehm Nov 30, 2021
89390e9
[IMP] l10n_fr_ecotaxe: black, isort, prettier
SilvioC2C Dec 15, 2021
4a4e5ba
[MIG] l10n_fr_ecotaxe: Migration to 15.0
SilvioC2C Dec 15, 2021
2ca2dc5
[IMP] l10n_fr_ecotaxe: pre-commit execution
mourad-ehm May 15, 2023
5e744fd
[MIG] l10n_fr_ecotaxe: Migration to 16.0
mourad-ehm May 15, 2023
81b84b8
[FIX][16.0] l10n_fr_ecotaxe: fix views & test
mourad-ehm May 15, 2023
d93544c
[16.0][IMP] manage ecotaxe for product variants
mourad-ehm Dec 12, 2023
0f01e70
[16.0][IMP] add ecotaxe sector and collector
mourad-ehm Dec 12, 2023
62c3a33
[16.0][FIX] l10n_fr_ecotaxe: don't display ecotaxe on vendor invoices
mourad-ehm Jan 2, 2024
ee0407e
[FIX] Add read rights for reaonly accounting group
florian-dacosta Jan 9, 2024
7fa04c9
[16.0][FIX] pre-commit
mourad-ehm Jan 11, 2024
946ded6
[16.0][IMP] rename fields in l10n_fr_ecotaxe module
mourad-ehm Jan 30, 2024
928c3fa
[16.0][FIX] fix amount digits precision & view update error
mourad-ehm Feb 6, 2024
173c14f
[MIG] l10n_fr_ecotaxe: Migration to 17.0
yankinmax Jun 3, 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
121 changes: 121 additions & 0 deletions l10n_fr_ecotaxe/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
=====================
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/17.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-17-0/l10n-france-17-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=17.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:%2017.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/17.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": "17.0.1.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