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

[18.0][MIG] l10n_fr_department #587

Merged
merged 93 commits into from
Dec 20, 2024
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
5dfba5c
New module 'l10n_fr_department' to populate a new model res_country_d…
legalsylvain Mar 26, 2014
af42ec0
change csv file to yml file [REF] pep8 compliance [REF] adding licenc…
legalsylvain Mar 31, 2014
6f9ccdb
change constraint name + add translation. [ADD] complete Search view …
legalsylvain Mar 31, 2014
f826ce4
one2many relation in res_country_state to res_country_department;
legalsylvain Mar 31, 2014
69a3a34
removing duplicated groups restrictions.
legalsylvain Apr 1, 2014
ecceaef
remove useless 'type' definition in action.xml file. [REF] removing b…
legalsylvain Apr 1, 2014
c8faf2d
renaming 'country_state_id' into 'state_id'.
legalsylvain Apr 1, 2014
3510870
Remove country prefix in department code;
legalsylvain Apr 14, 2014
92c2118
Add country_id in res.country.department datas.
May 14, 2014
2419f00
Add OCA as author of OCA addons
gurneyalex Mar 2, 2015
48513fe
Move module icon in static/description
yvaucher Mar 3, 2015
f423730
Port to new API Add YAML test in l10n_fr_department
Apr 26, 2015
830c083
Add invalidation on country_id.code
May 26, 2015
276bfbc
Fix corrupted file
May 26, 2015
c5315cb
FIX bug #29 Add post_install script to compute department_id on res.p…
alexis-via Jun 28, 2015
88bd287
l10n_fr_department: Port YAML test to new API
alexis-via Jun 28, 2015
06c17fc
prefix versions with 8.0
sbidoul Oct 9, 2015
56fe20b
Make modules uninstallable
pedrobaeza Oct 14, 2015
e911ec1
Port l10n_fr_department, l10n_fr_state and l10n_fr_tax_sale_ttc to v9
alexis-via Oct 18, 2015
fe75344
OCA Transbot updated translations from Transifex
oca-transbot Apr 16, 2016
d183d83
Migration to new region organisation dated 01/01/2016 and to new regi…
alexis-via Jul 7, 2016
b635752
PEP8 fix
alexis-via Jul 8, 2016
fc853bf
Add overseas regions and departments
alexis-via Jul 21, 2016
1e97dfe
Fix code of mayotte
alexis-via Jul 21, 2016
42c0a49
FIX computed field department_id to make it work with overseas depart…
alexis-via Jul 24, 2016
29355c5
Add module l10n_fr_department_oversea
alexis-via Jul 25, 2016
0d0e87d
PEP8 fix
alexis-via Jul 25, 2016
f5d5076
OCA Transbot updated translations from Transifex
oca-transbot Jul 30, 2016
cf4b4e6
remove en.po that was erroneously created by transbot
sbidoul Aug 26, 2016
cb6d443
OCA Transbot updated translations from Transifex
oca-transbot Sep 17, 2016
07a694b
Display department with name AND code i.e. 'Rhône (69)'
alexis-via Sep 26, 2016
97ee6ca
Fix name of view
alexis-via Sep 30, 2016
47929f8
Make modules uninstallable
pedrobaeza Oct 6, 2016
e8d079b
Rename manifest files
pedrobaeza Oct 6, 2016
9470348
Port l10n_fr_department, l10n_fr_department_oversea and l10n_fr_state…
alexis-via Oct 6, 2016
bb4c6e1
Remove migration script of older versions
alexis-via Oct 11, 2016
824e4d9
Update strings and FR translation
alexis-via Nov 25, 2016
a5e3440
fix pylint warnings and errors
gurneyalex Jan 12, 2017
a6e9279
Rename method _compute_display_name to _compute_display_name_field, t…
alexis-via Jan 12, 2017
2bbf2f0
OCA Transbot updated translations from Transifex
oca-transbot Jan 14, 2017
2d3443b
l10n_fr_department: migrate to 11.0
Jan 13, 2018
39c553c
OCA Transbot updated translations from Transifex
oca-transbot Mar 3, 2018
5930a24
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
7d9a618
Update l10n_fr_department.pot
oca-travis Jun 23, 2018
15da98f
[MIG] l10n_fr_department, l10n_fr_department_oversea, l10n_fr_state f…
alexis-via Oct 5, 2018
4157ef2
[UPD] README.rst
OCA-git-bot Nov 7, 2018
d659c95
[UPD] Update l10n_fr_department.pot
oca-travis Nov 7, 2018
043898a
Update translation files
oca-transbot Dec 9, 2018
d9011e1
[UPD] README.rst
OCA-git-bot Jul 29, 2019
86e5d20
[UPD] Update l10n_fr_department.pot
oca-travis Jul 29, 2019
f5945f5
Update translation files
oca-transbot Jul 29, 2019
993a044
[FIX] l10n_fr_department
gurneyalex Nov 26, 2019
2001a18
[MIG] l10n_fr_department: migration 12.0 to 13.0
zuher83 Feb 15, 2020
8f342e4
Fix department code for the 9 first departments
alexis-via May 30, 2020
2608e65
[UPD] README.rst
OCA-git-bot Jun 7, 2020
cac7f40
[MIG] l10n_fr_department* and l10n_fr_state to v14
alexis-via Oct 9, 2020
1dbb62b
PEP8 fix on long URL in comment
alexis-via Oct 15, 2020
db231e6
[UPD] README.rst
OCA-git-bot Oct 15, 2020
09164ed
[UPD] Update l10n_fr_department.pot
oca-travis Aug 10, 2021
4fce0a5
Update translation files
oca-transbot Aug 10, 2021
098c11f
[REF] adopting l10n_fr_state and l10n_fr_department
legalsylvain Aug 10, 2021
ac9ea98
[UPD] README.rst
OCA-git-bot Sep 1, 2021
385307d
l10n_fr_department 14.0.1.0.1
OCA-git-bot Sep 1, 2021
7aadc1d
[MIG] l10n_fr_department and l10n_fr_department_oversea from v14 to v15
alexis-via Jan 2, 2022
d1c07ad
[UPD] Update l10n_fr_department.pot
Jan 28, 2022
b9cd8cb
[UPD] README.rst
OCA-git-bot Jan 28, 2022
077a405
[IMP] l10n_fr_department: Add French Departments to partner address
yankinmax Mar 19, 2022
5cda6b0
l10n_fr_department 15.0.1.1.0
OCA-git-bot Mar 19, 2022
a86ff89
[IMP] l10n_fr_department: replace departament_id before country_id
yankinmax Mar 19, 2022
e6c386e
l10n_fr_department 15.0.1.1.1
OCA-git-bot Mar 19, 2022
4ee20de
[IMP] l10n_fr_department: improve performances
SilvioC2C Dec 13, 2022
ca89106
l10n_fr_department 15.0.1.2.0
OCA-git-bot Dec 26, 2022
925a639
[MIG] l10n_fr_department and l10n_fr_department_oversea to v16
alexis-via Dec 26, 2022
ccf8106
[UPD] Update l10n_fr_department.pot
Dec 30, 2022
2f7b888
[UPD] README.rst
OCA-git-bot Dec 30, 2022
57e3cd1
Update translation files
weblate Dec 31, 2022
ea48ac4
Translated using Weblate (Italian)
mymage Mar 23, 2023
4e3c916
Translated using Weblate (Slovenian)
sysadminmatmoz Mar 31, 2023
450fb38
Translated using Weblate (French)
Jun 20, 2023
d265ec2
[IMP] fix false positive warning on odoo.sh "Two fields (country_depa…
myrrkel Jun 29, 2023
0465c8f
[FIX] add "Country Department" in l10n_fr_department.pot
myrrkel Jul 28, 2023
92af273
[UPD] Update l10n_fr_department.pot
Jul 28, 2023
64dadd2
l10n_fr_department 16.0.1.0.1
OCA-git-bot Jul 28, 2023
7810357
Update translation files
weblate Jul 28, 2023
2a18404
[UPD] README.rst
OCA-git-bot Sep 3, 2023
333c4e2
Translated using Weblate (Spanish)
Ivorra78 Aug 21, 2023
9b5c649
l10n_fr_state + l10n_fr_department*: pre-commit auto fixes
alexis-via Dec 29, 2023
f65b93c
[MIG] l10n_fr_state and l10n_fr_department* to v17
alexis-via Dec 29, 2023
cfd2512
[UPD] Update l10n_fr_department.pot
Jan 19, 2024
9c900fa
[BOT] post-merge updates
OCA-git-bot Jan 19, 2024
513520a
Update translation files
weblate Feb 3, 2024
ad48381
[IMP] l10n_fr_department: pre-commit auto fixes
alexis-via Nov 26, 2024
d95f3ea
[MIG] l10n_fr_department to v18
alexis-via Nov 26, 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
99 changes: 99 additions & 0 deletions l10n_fr_department/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
=================================
French Departments (Départements)
=================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a5ab95ec321955bf87aa82a61a166828cf596e31ef9a81e0211ed5561493bd5a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/18.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-18-0/l10n-france-18-0-l10n_fr_department
: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=18.0
:alt: Try me on Runboat

|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 *country_department_id* field on the
*res_partner* object.

**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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-france/issues/new?body=module:%20l10n_fr_department%0Aversion:%2018.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 <[email protected]>
- 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
.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px
:target: https://github.com/alexis-via
:alt: alexis-via

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

|maintainer-legalsylvain| |maintainer-alexis-via|

This module is part of the `OCA/l10n-france <https://github.com/OCA/l10n-france/tree/18.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 <[email protected]>
# 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": "18.0.1.0.0",
"category": "French Localization",
"author": "GRAP, "
"Akretion, "
"Nicolas JEUDY, "
"Odoo Community Association (OCA)",
"maintainers": ["legalsylvain", "alexis-via"],
"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
Loading