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

Syncing from upstream OCA/partner-contact (14.0) #585

Merged
merged 9 commits into from
Jul 13, 2021
Merged

Conversation

bt-admin
Copy link

bt_gitbot

ivantodorovich and others added 9 commits July 8, 2021 18:03
Also:
* Reorder checks by geo level: country, state, city, zip
* Easier to read by splitting lines
* Also, set context before the loop
We want to use a domain that requires city_id to be on the view
but we can't add it directly there, otherwise _fields_view_get_address
in base_address_city won't do its magic, as it immediately returns
if city_id is already in there.

On the other hand, if city_id is not in the
views, odoo won't let us use it in zip_id's domain.

Fixes a bug introduced here: 5fd93fb
Signed-off-by pedrobaeza
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: partner-contact-14.0/partner-contact-14.0-base_location
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-14-0/partner-contact-14-0-base_location/
@bt-admin bt-admin added the 14.0 label Jul 13, 2021
@bt-admin bt-admin merged commit 4767e80 into brain-tec:14.0 Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
5 participants