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] base_location: Migration to 18.0 #1867

Open
wants to merge 84 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
173dda1
[MV] rename better_zip to base_location
nbessi Jun 25, 2013
07a128a
base_location: [IMP] Spanish translation and translation template.
Jun 25, 2013
f4555d7
[FIX] mutable default in function signature
nbessi Jul 9, 2013
52bf506
[FIX] base_location: Changed partner view to avoid extrange behaviour…
Jul 31, 2013
bfae294
[FIX] Add context propagation to base_location
Feb 11, 2014
64f9b8c
[Add] Add italian translation, change field class to edit-only for be…
Sep 22, 2014
11b322e
base_location: Don't position zip_id after street2, to avoid layout i…
Dec 29, 2014
e1d46fb
Danish translation
hhgabelgaard Jan 16, 2015
e3b68ad
[IMP] base_location: Updated to v8 syntax and uses. Added filters in …
Jan 18, 2015
9943b08
[IMP] base_location_geonames_import: Several improvements and added h…
pedrobaeza Feb 25, 2015
74f69ca
Add demo data
Mar 16, 2015
3b8defc
IMP Create new computed stored field 'display_name' that use zip, cit…
jjscarafia Mar 21, 2015
4edc1d4
Translated to Danish
hhgabelgaard May 22, 2015
2990e61
[MIG] base_location: Migration to 9.0
yvaucher Oct 14, 2015
d94d030
[MIG] base_location: Migrated to 10.0
OpenCode Oct 19, 2016
273d1e1
[FIX][10.0] base_location : "better_zip_ids" field set colspan="2" i…
kitcharoenp Jan 5, 2017
dad8bd4
[10.0][IMP] base_location(geonames): Add Lat/Long (#405)
lasley Apr 24, 2017
6c50a97
OCA Transbot updated translations from Transifex
oca-transbot Sep 18, 2016
5d6cc17
[MIG] base_location
etobella Oct 18, 2017
4222a5c
OCA Transbot updated translations from Transifex
oca-transbot Nov 25, 2017
5a5102b
[IMP] base_location: Include onchange for state
pedrobaeza Apr 20, 2018
3e500c3
[IMP] base_location: name_search improvement (#585)
WohthaN May 16, 2018
a8b2b9e
Translated using Weblate (Spanish)
etobella Jul 13, 2018
f4033eb
Translated using Weblate (German)
rschnapka Aug 22, 2018
fb057f8
[MIG] base_location: Migration to 12.0
aitorbouzas Oct 8, 2018
677b0a9
[IMP] base_location: Add migration scripts
pedrobaeza Oct 16, 2018
6c219cd
FIX base_location blocking editing company address.
eLBati Mar 13, 2019
47d9ce7
Translated using Weblate (Spanish)
josepmy Aug 4, 2019
747bdcf
[FIX+MIG] base_location: 3 things:
pedrobaeza Aug 27, 2019
69977d6
[MIG] base_location: Migration to 13.0
pedrobaeza Sep 30, 2019
f25b426
pre-commit, black, isort
OCA-git-bot Oct 12, 2019
3b76aa1
[FIX] base_location: Don't apply domain when cities are not enforced
pedrobaeza Oct 15, 2019
ad9fc65
Translated using Weblate (Portuguese (Brazil))
mileo Nov 25, 2019
4f3db2c
Update translation files
oca-transbot Nov 26, 2019
b70a7d2
Translated using Weblate (Dutch)
Oocademy Mar 10, 2020
5f2d229
[FIX+IMP] base_location: Re-import process
pedrobaeza Apr 2, 2020
44c7fd8
Translated using Weblate (Portuguese (Brazil))
Jul 1, 2020
a1833da
[IMP] : black, isort, prettier
pedrobaeza Oct 18, 2020
dd52952
[MIG] base_location: Migration to 14.0
pedrobaeza Oct 24, 2020
dc44ecf
[IMP] base_location: Switch to computed writable fields
pedrobaeza Nov 28, 2020
7c7a113
[14.0][FIX] base_location: Update name when changing city's state or …
ypapouin Dec 2, 2020
4fd3d42
[FIX] base_location: Don't slow down the partner view
pedrobaeza Jun 22, 2021
454bd3c
[IMP] Check that the zip code matches the one of the zip_id
ivantodorovich Jul 8, 2021
7e76954
[IMP] Improve readability of with_context(skip_check_zip=True)
ivantodorovich Jul 8, 2021
917d569
[FIX] city_id no longer shown.
ivantodorovich Jul 8, 2021
6697b7d
[IMP] Also empty zip_id when city_id or zip mismatch
ivantodorovich Jul 8, 2021
89aca3a
[FIX] base_location: address field sync zip_id
ivantodorovich Oct 12, 2021
65daddc
[FIX] base_location: all users should be able to read
ivantodorovich Oct 14, 2021
b31aab4
[MIG] base_location: Migration to 15.0
pedrobaeza Oct 29, 2021
79696ee
[FIX] base_location: address field sync city_id
victoralmau Nov 23, 2021
c2115a0
[FIX] base_location: Fix development_status
ValentinVinagre Dec 28, 2021
bd30add
Translated using Weblate (Catalan)
pablontura Apr 22, 2022
12465b0
[MIG] base_location: Migration to 16.0
pedrobaeza Oct 7, 2022
88bd275
[UPD] Update base_location.pot
Oct 14, 2022
7deaa90
[UPD] README.rst
OCA-git-bot Oct 14, 2022
1708cc1
Translated using Weblate (German)
marylla Nov 4, 2022
aa9383c
[UPD] Update base_location.pot
Nov 23, 2022
7179abc
Update translation files
weblate Nov 23, 2022
944aabe
Translated using Weblate (French)
PierrickBrun Nov 29, 2022
20ee527
Translated using Weblate (Italian)
francesco-ooops Jan 2, 2023
9dd9bb1
Translated using Weblate (Croatian)
badbole Jan 3, 2023
fc75bf3
[FIX] base_location: Waadt state already exists in Odoo
yankinmax Feb 17, 2023
9b00f35
base_location 16.0.1.0.1
OCA-git-bot Feb 17, 2023
5a5793b
Translated using Weblate (Italian)
francesco-ooops Mar 7, 2023
2ff5782
Translated using Weblate (Slovenian)
sysadminmatmoz Apr 11, 2023
23caaf4
Translated using Weblate (French)
victor-champonnois Jun 2, 2023
64ed53a
Translated using Weblate (Croatian)
badbole Jun 2, 2023
21cfe85
[UPD] README.rst
OCA-git-bot Sep 3, 2023
0c12e2b
Added translation using Weblate (French (Belgium))
gva-acsone Sep 20, 2023
f539425
Update translation files
weblate Oct 10, 2023
ff72ef1
Translated using Weblate (Portuguese (Brazil))
adrianojprado Oct 31, 2023
0b04a3b
Translated using Weblate (Italian)
mymage Dec 27, 2023
f4fb98c
[IMP] base_location: pre-commit stuff
Jan 29, 2024
a7f2b75
[MIG] base_location: Migration to 17.0
Jan 30, 2024
9524c15
[UPD] Update base_location.pot
Feb 26, 2024
b70dfab
[BOT] post-merge updates
OCA-git-bot Feb 26, 2024
c9bc10e
Update translation files
weblate Feb 26, 2024
e7c3d71
Translated using Weblate (Swedish)
jakobkrabbe Jun 5, 2024
62b807f
[IMP] partner_contact_role: pre-commit execution
jdidderen-nsi Aug 7, 2024
d27ed51
Translated using Weblate (Catalan)
esteveblanch Sep 4, 2024
a531f0c
[IMP] base_location: pre-commit auto fixes
Kimkhoi3010 Oct 14, 2024
4ed7b42
[FIX] base_location: Since odoo/odoo#81239 it is not necessary to add…
victoralmau Dec 10, 2021
f4b8cfa
oca-port: blacklist PR(s) , 1472 for base_location
Kimkhoi3010 Oct 14, 2024
13adc58
[MIG] base_location: Migration to 18.0
Kimkhoi3010 Oct 14, 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
6 changes: 6 additions & 0 deletions .oca/oca-port/blacklist/base_location.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"pull_requests": {
"orphaned_commits": "Nothing to port",
"1472": "Nothing to port"
}
}
134 changes: 134 additions & 0 deletions base_location/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
====================================
Location management (aka Better ZIP)
====================================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
:target: https://odoo-community.org/page/development-status
:alt: Mature
.. |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%2Fpartner--contact-lightgray.png?logo=github
:target: https://github.com/OCA/partner-contact/tree/18.0/base_location
:alt: OCA/partner-contact
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/partner-contact-18-0/partner-contact-18-0-base_location
: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/partner-contact&target_branch=18.0
:alt: Try me on Runboat

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

This module introduces a zip model that allows you to manage locations
in a better way.

The zips will allow the users to complete automatically all
address-related fields by just filling the zip.

Also allows different search filters.

**Table of contents**

.. contents::
:local:

Configuration
=============

1. Go to *Contacts / Configuration / Localization / Cities*.
2. Create a new City.
3. Go to *Contacts / Configuration / Localization / Zips*.
4. Create a new Zip and relate it to the city (you can also create the
Zip from the City).

or, with module 'Contacts Directory' installed: #. Go to *Contacts /
Configuration / Localization / Countries*. #. Locate the desired
country. #. Press on the button 'Cities' / 'Zips'.

Usage
=====

1. Access a partner record
2. Fill the field *Location completion*
3. Information about country, state, city and zip will be filled
automatically

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/partner-contact/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/partner-contact/issues/new?body=module:%20base_location%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
-------

* Camptocamp
* ACYSOS S.L.
* Alejandro Santana
* Tecnativa
* AdaptiveCity

Contributors
------------

- Nicolas Bessi (Camptocamp)
- Ignacio Ibeas (Acysos S.L.)
- Pedro M. Baeza <[email protected]>
- Alejandro Santana <[email protected]>
- Sandy Carter <[email protected]>
- Yannick Vaucher <[email protected]>
- Francesco Apruzzese <[email protected]>
- Dave Lasley <[email protected]>
- Aitor Bouzas <[email protected]>
- Khoi (Kien Kim) <[email protected]>

Other credits
-------------

- Icon park: Icon http://icon-park.com/icon/location-map-pin-orange3/

The migration of this module from 17.0 to 18.0 was financially supported
by:

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

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

|maintainer-pedrobaeza|

This module is part of the `OCA/partner-contact <https://github.com/OCA/partner-contact/tree/18.0/base_location>`_ project on GitHub.

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

from . import models
33 changes: 33 additions & 0 deletions base_location/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright 2016 Nicolas Bessi, Camptocamp SA
# Copyright 2018-2022 Tecnativa - Pedro M. Baeza
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Location management (aka Better ZIP)",
"version": "18.0.1.0.0",
"development_status": "Mature",
"depends": ["base_address_extended", "contacts"],
"author": (
"Camptocamp,"
"ACYSOS S.L.,"
"Alejandro Santana,"
"Tecnativa,"
"AdaptiveCity,"
"Odoo Community Association (OCA)"
),
"license": "AGPL-3",
"summary": """Enhanced zip/npa management system""",
"website": "https://github.com/OCA/partner-contact",
"data": [
"security/ir.model.access.csv",
"views/res_city_zip_view.xml",
"views/res_city_view.xml",
"views/res_country_view.xml",
"views/res_company_view.xml",
"views/res_partner_view.xml",
],
"demo": ["demo/res_city_zip.xml"],
"installable": True,
"auto_install": False,
"maintainers": ["pedrobaeza"],
}
11 changes: 11 additions & 0 deletions base_location/demo/res_city_zip.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="demo_brussels_city" model="res.city">
<field name="name">Brussels</field>
<field name="country_id" ref="base.be" />
</record>
<record id="demo_brussels_zip" model="res.city.zip">
<field name="name">1000</field>
<field name="city_id" ref="demo_brussels_city" />
</record>
</odoo>
Loading
Loading