Files
odoo_source/addons
Anh Thao Pham (pta) 164f717372 [FIX] base_address_extended: sync city_id with children contacts
Steps to reproduce:
- Install contacts and base_address_extended
- Install a module adding "res.city" records (e.g. l10n_co_edi)
- Go to Contacts and create a new one:
  * Name: [any]
  * Country: Colombia
  * City (city_id): [any]
- Create a "child" contact of "Contact" type
- Save the contact

Issue:
"city_id" field of the child contact is False.
It is not possible to set the address of a contact-type contact manually.
Some address fields ('street', 'street2', 'zip', 'city', 'state_id', 'country_id')
are synchronized with the parent contact.
"city_id" is not and is not settable at all for contact-type contact.
It could be an issue for Colombian or Mexican localizations if a child contact is
used for an invoice as some data have to be retrieved from "city_id" field to generate
the electronic invoice.

Solution:
Add "city_id" in the list of address fields to sync.

opw-3747296

closes odoo/odoo#158686

X-original-commit: ec059dfd0a3f57754bd481f0a651b01c92b10dea
Signed-off-by: Habib Ayob (ayh) <ayh@odoo.com>
2024-03-22 04:33:41 +00:00
..
2024-03-08 11:17:48 +00:00
2024-03-08 11:17:47 +00:00
2024-02-22 09:06:12 +00:00
2024-01-15 09:30:53 +00:00
2024-01-26 09:13:03 +00:00
2024-03-15 17:30:00 +00:00