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_department and l10n_fr_department_oversea #399

Merged
merged 93 commits into from
Dec 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
c6efd5a
New module 'l10n_fr_department' to populate a new model res_country_d…
legalsylvain Mar 26, 2014
76f751b
change csv file to yml file [REF] pep8 compliance [REF] adding licenc…
legalsylvain Mar 31, 2014
3f448fc
change constraint name + add translation. [ADD] complete Search view …
legalsylvain Mar 31, 2014
6d05b89
one2many relation in res_country_state to res_country_department;
legalsylvain Mar 31, 2014
05fc4ab
removing duplicated groups restrictions.
legalsylvain Apr 1, 2014
f2a40f2
remove useless 'type' definition in action.xml file. [REF] removing b…
legalsylvain Apr 1, 2014
d93b606
renaming 'country_state_id' into 'state_id'.
legalsylvain Apr 1, 2014
b1b49e1
Remove country prefix in department code;
legalsylvain Apr 14, 2014
73c5445
Add country_id in res.country.department datas.
May 14, 2014
25e5c29
Add OCA as author of OCA addons
gurneyalex Mar 2, 2015
285e3b2
Move module icon in static/description
yvaucher Mar 3, 2015
d67d1bd
Port to new API Add YAML test in l10n_fr_department
Apr 26, 2015
07df1a2
Add invalidation on country_id.code
May 26, 2015
9a43f44
Fix corrupted file
May 26, 2015
0bf2102
FIX bug #29 Add post_install script to compute department_id on res.p…
alexis-via Jun 28, 2015
4b17279
l10n_fr_department: Port YAML test to new API
alexis-via Jun 28, 2015
95903af
prefix versions with 8.0
sbidoul Oct 9, 2015
e3be3a4
Make modules uninstallable
pedrobaeza Oct 14, 2015
52e4e15
Port l10n_fr_department, l10n_fr_state and l10n_fr_tax_sale_ttc to v9
alexis-via Oct 18, 2015
51ea16c
OCA Transbot updated translations from Transifex
oca-transbot Apr 16, 2016
e60079b
Migration to new region organisation dated 01/01/2016 and to new regi…
alexis-via Jul 7, 2016
c477f4b
PEP8 fix
alexis-via Jul 8, 2016
ee55121
Add overseas regions and departments
alexis-via Jul 21, 2016
721e59d
Fix code of mayotte
alexis-via Jul 21, 2016
aa5997e
FIX computed field department_id to make it work with overseas depart…
alexis-via Jul 24, 2016
52c14de
Add module l10n_fr_department_oversea
alexis-via Jul 25, 2016
953c191
PEP8 fix
alexis-via Jul 25, 2016
39430bf
OCA Transbot updated translations from Transifex
oca-transbot Jul 30, 2016
0e0626e
remove en.po that was erroneously created by transbot
sbidoul Aug 26, 2016
cc0f8df
OCA Transbot updated translations from Transifex
oca-transbot Sep 17, 2016
62eb53c
Display department with name AND code i.e. 'Rhône (69)'
alexis-via Sep 26, 2016
0ff8b89
Fix name of view
alexis-via Sep 30, 2016
4750944
Make modules uninstallable
pedrobaeza Oct 6, 2016
332161e
Rename manifest files
pedrobaeza Oct 6, 2016
93c399d
Port l10n_fr_department, l10n_fr_department_oversea and l10n_fr_state…
alexis-via Oct 6, 2016
4c00f25
Remove migration script of older versions
alexis-via Oct 11, 2016
958238a
Update strings and FR translation
alexis-via Nov 25, 2016
2f43aa3
fix pylint warnings and errors
gurneyalex Jan 12, 2017
09a68a7
Rename method _compute_display_name to _compute_display_name_field, t…
alexis-via Jan 12, 2017
b3ebcd0
OCA Transbot updated translations from Transifex
oca-transbot Jan 14, 2017
8eca7ed
l10n_fr_department: migrate to 11.0
Jan 13, 2018
1deb468
OCA Transbot updated translations from Transifex
oca-transbot Mar 3, 2018
e1c30ca
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
103a50d
Update l10n_fr_department.pot
oca-travis Jun 23, 2018
79174c5
[MIG] l10n_fr_department, l10n_fr_department_oversea, l10n_fr_state f…
alexis-via Oct 5, 2018
0c00827
[UPD] README.rst
OCA-git-bot Nov 7, 2018
8d2d4f2
[UPD] Update l10n_fr_department.pot
oca-travis Nov 7, 2018
2c62bad
Update translation files
oca-transbot Dec 9, 2018
6fe2f99
[UPD] README.rst
OCA-git-bot Jul 29, 2019
095faf4
[UPD] Update l10n_fr_department.pot
oca-travis Jul 29, 2019
207a05c
Update translation files
oca-transbot Jul 29, 2019
aaf1a38
[FIX] l10n_fr_department
gurneyalex Nov 26, 2019
71dc924
[MIG] l10n_fr_department: migration 12.0 to 13.0
zuher83 Feb 15, 2020
7a05f8a
Add module l10n_fr_department_oversea
alexis-via Jul 25, 2016
63e7339
Remove debug print
alexis-via Jul 25, 2016
849b0ce
PEP8 fix
alexis-via Jul 25, 2016
1a800c0
Make modules uninstallable
pedrobaeza Oct 6, 2016
501cdb2
Rename manifest files
pedrobaeza Oct 6, 2016
7148336
Port l10n_fr_department, l10n_fr_department_oversea and l10n_fr_state…
alexis-via Oct 6, 2016
524ad84
l10n_fr_department_oversea: migrate to 11.0
Apr 23, 2018
a46d75d
Update l10n_fr_department_oversea.pot
oca-travis Jun 23, 2018
343fc52
[MIG] l10n_fr_department, l10n_fr_department_oversea, l10n_fr_state f…
alexis-via Oct 5, 2018
cb0601c
l10n_fr_department_oversea: update version number to v12
alexis-via Oct 22, 2018
a8a48e3
[UPD] README.rst
OCA-git-bot Nov 7, 2018
b008d58
[UPD] Update l10n_fr_department_oversea.pot
oca-travis Nov 7, 2018
1a1ba5d
[ADD] icon.png
OCA-git-bot Apr 3, 2019
b1b9cfc
[UPD] README.rst
OCA-git-bot Jul 29, 2019
3be666b
[MIG] l10n_fr_department_oversea: migration 12.0 to 13.0
zuher83 Feb 15, 2020
b2a5397
Fix department code for the 9 first departments
alexis-via May 30, 2020
c06baba
[UPD] README.rst
OCA-git-bot Jun 7, 2020
fa3cbbb
[MIG] l10n_fr_department* and l10n_fr_state to v14
alexis-via Oct 9, 2020
5091eae
PEP8 fix on long URL in comment
alexis-via Oct 15, 2020
e215ad1
[UPD] README.rst
OCA-git-bot Oct 15, 2020
6afef60
[UPD] Update l10n_fr_department.pot
oca-travis Aug 10, 2021
3b514bb
[UPD] Update l10n_fr_department_oversea.pot
oca-travis Aug 10, 2021
166a549
Update translation files
oca-transbot Aug 10, 2021
cf85f6a
[REF] adopting l10n_fr_state and l10n_fr_department
legalsylvain Aug 10, 2021
5bc793c
[UPD] README.rst
OCA-git-bot Sep 1, 2021
8512740
l10n_fr_department 14.0.1.0.1
OCA-git-bot Sep 1, 2021
5857e7a
Restore tests and remove Alpha status
alexis-via Sep 1, 2021
f295005
[UPD] README.rst
OCA-git-bot Sep 2, 2021
2339405
l10n_fr_department_oversea 14.0.1.0.1
OCA-git-bot Sep 2, 2021
8415173
[MIG] l10n_fr_department and l10n_fr_department_oversea from v14 to v15
alexis-via Jan 2, 2022
6c1fc3c
[UPD] Update l10n_fr_department.pot
Jan 28, 2022
8d06528
[UPD] Update l10n_fr_department_oversea.pot
Jan 28, 2022
4b8a190
[UPD] README.rst
OCA-git-bot Jan 28, 2022
79fb586
[IMP] l10n_fr_department: Add French Departments to partner address
yankinmax Mar 19, 2022
7f78196
l10n_fr_department 15.0.1.1.0
OCA-git-bot Mar 19, 2022
c8fdb6c
[IMP] l10n_fr_department: replace departament_id before country_id
yankinmax Mar 19, 2022
67f7658
l10n_fr_department 15.0.1.1.1
OCA-git-bot Mar 19, 2022
650fc1d
[IMP] l10n_fr_department: improve performances
SilvioC2C Dec 13, 2022
fa0be25
l10n_fr_department 15.0.1.2.0
OCA-git-bot Dec 26, 2022
d8c8637
[MIG] l10n_fr_department and l10n_fr_department_oversea to v16
alexis-via Dec 26, 2022
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
93 changes: 93 additions & 0 deletions l10n_fr_department/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
=================================
French Departments (Départements)
=================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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-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/15.0/l10n_fr_department
: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-15-0/l10n-france-15-0-l10n_fr_department
: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/15.0
:alt: Try me on Runbot

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

This module creates a new model *res_country_department*, sub
division of the *res_country_state* and populate it with all the
french departments, but only the french departments of mainland.
If you need the overseas departments, please install the module
*l10n_fr_department_oversea*.

It also adds a computed many2one *department_id* field on the
*res_partner* object (this field is not displayed in the partner form
view by default).

**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_department%0Aversion:%2015.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
~~~~~~~

* GRAP
* Akretion
* Nicolas JEUDY

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

* Sylvain LE GAL (`Twitter <https://twitter.com/legalsylvain>`_), GRAP (Groupement Régional Alimentaire de Proximité)
* Alexis de Lattre <alexis.delattre@akretion.com>
* Nicolas JEUDY <https://github.com/njeudy>

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-legalsylvain| image:: https://github.com/legalsylvain.png?size=40px
:target: https://github.com/legalsylvain
:alt: legalsylvain

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

|maintainer-legalsylvain|

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions l10n_fr_department/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import model
from .post_install import set_department_on_partner
31 changes: 31 additions & 0 deletions l10n_fr_department/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright 2013-2022 GRAP (Sylvain LE GAL https://twitter.com/legalsylvain)
# Copyright 2015-2022 Akretion France
# @author: Alexis de Lattre <alexis.delattre@akretion.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "French Departments (Départements)",
"summary": "Populate Database with French Departments (Départements)",
"version": "16.0.1.0.0",
"category": "French Localization",
"author": "GRAP, "
"Akretion, "
"Nicolas JEUDY, "
"Odoo Community Association (OCA)",
"maintainers": ["legalsylvain"],
"website": "https://github.com/OCA/l10n-france",
"license": "AGPL-3",
"depends": [
"l10n_fr_state",
"contacts",
],
"data": [
"security/ir.model.access.csv",
"data/res_country_department.xml",
"view/res_country_department.xml",
"view/res_partner.xml",
],
"post_init_hook": "set_department_on_partner",
"images": ["static/src/img/screenshots/1.png"],
"installable": True,
}
Loading