Skip to content

Commit

Permalink
Merge PR #423 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by alexis-via
  • Loading branch information
OCA-git-bot committed Oct 31, 2023
2 parents 9f8a273 + f507b0f commit 38cd092
Show file tree
Hide file tree
Showing 21 changed files with 3,997 additions and 0 deletions.
101 changes: 101 additions & 0 deletions l10n_fr_oca/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
=============================
France - OCA Chart of Account
=============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--france-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-france/tree/14.0/l10n_fr_oca
: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-14-0/l10n-france-14-0-l10n_fr_oca
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/121/14.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module provides the chart of accounts, taxes and fiscal positions for companies based in France mainland. It doesn't apply to
companies based in the DOM-TOMs (Guadeloupe, Martinique, Guyane, Réunion, Mayotte, etc.).

This module is a fork of the **l10n_fr** module from the official addons. The decision to maintain a fork was taken after the merge of this huge `pull request <https://github.com/odoo/odoo/pull/84918>`_ on Odoo version 14.0 on October 6th 2022. This pull request increased the number of taxes to 67 (!) and suffer the contrains of the VAT module of Odoo Enterprise. It broke 2 OCA modules: **l10n_fr_account_tax_unece** and the test suite of **l10n_fr_account_vat_return**.

The goals of the fork are:

* provide a reasonable number of taxes (35 taxes, compared to 67 which is about half the number of taxes provided by the **l10n_fr** module !),
* provide a clean and up-to-date chart of account for France (up-to-date with official chart of account of the `ANC <https://www.anc.gouv.fr/>`_ published on January 1st 2019),
* provide taxes, fiscal positions and a chart of accounts properly configured for the OCA module **l10n_fr_account_vat_return**, the opensource VAT module for France,
* keep compatibility with **l10n_fr** (you can have both **l10n_fr** and **l10n_fr_oca** installed on the same Odoo database).

**Table of contents**

.. contents::
:local:

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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-france/issues/new?body=module:%20l10n_fr_oca%0Aversion:%2014.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
* Odoo SA

Contributors
~~~~~~~~~~~~

* Alexis de Lattre <[email protected]>

Contributors on the module before the fork:

* Odoo SA
* Sistheo
* Zeekom
* CrysaLEAD
* Akretion
* Camptocamp

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.

.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px
:target: https://github.com/alexis-via
:alt: alexis-via

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-alexis-via|

This module is part of the `OCA/l10n-france <https://github.com/OCA/l10n-france/tree/14.0/l10n_fr_oca>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
9 changes: 9 additions & 0 deletions l10n_fr_oca/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).


from odoo import api, SUPERUSER_ID
from odoo.addons.account.models.chart_template import preserve_existing_tags_on_taxes


def _l10n_fr_post_init_hook(cr, registry):
preserve_existing_tags_on_taxes(cr, registry, "l10n_fr_oca")
29 changes: 29 additions & 0 deletions l10n_fr_oca/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "France - OCA Chart of Account",
"version": "16.0.1.0.0",
"category": "Accounting/Localizations/Account Charts",
"summary": "Fork of l10n_fr: fewer taxes, ready for OCA VAT return for France",
"author": "Akretion,Odoo SA,Odoo Community Association (OCA)",
"maintainers": ["alexis-via"],
"website": "https://github.com/OCA/l10n-france",
"depends": [
"account_tax_unece",
],
"data": [
"data/l10n_fr_chart_data.xml",
"data/account.account.template.csv",
"data/account.group.template.csv",
"data/account_chart_template_data.xml",
"data/account_data.xml",
"data/account_tax_data.xml",
"data/account_account_template_default_tax.xml",
"data/account_fiscal_position_template_data.xml",
"data/account_reconcile_model_template.xml",
"data/account_chart_template_configure_data.xml",
],
"demo": [
"demo/demo_company.xml",
],
"post_init_hook": "_l10n_fr_post_init_hook",
"license": "LGPL-3",
}
Loading

0 comments on commit 38cd092

Please sign in to comment.