Daily updates from Odoo
Wednesday, January 4, 2017
1 change · master
Resolved issues and error corrections
When a country requires selecting cities from a predefined list, partner forms now show the city selector instead of the free-text city field. This helps users enter consistent address data without changing the form layout they already know.
Original PR description
Description of the issue/feature this PR addresses:
- [x] ~~[FIX] base_address_city: inherit `_fields_view_get_address` as private method~~
- ~~missing the underscore symbol when call method `fields_view_get_address`.~~
- [x] [FIX] base_address_city: inherit partner form view to enforce cities
- was removed the inherited to function _fields_view_get_address, and inherit a xml view to use the field country_enforce_cities to force use of city_id instead city. Keeping up the current design.
- [x] [FIX] base_address_extended: removed duplicated city field
Current behavior before PR:
- field `city_id` not show on partner form view after check enforce_cities on country
Desired behavior after PR is merged:
- replace `city` field by `city_id` in partner form view after check `enforce_cities` in selected country, without change current style
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr