Skip to content
Snippets Groups Projects
Commit 13b25fed authored by Laurent Smet's avatar Laurent Smet
Browse files

[FIX] base_address_city: revert 7dd34412

-opw: 774206
parent 85c80007
Branches
Tags
No related merge requests found
......@@ -20,8 +20,6 @@ class Partner(models.Model):
@api.model
def _fields_view_get_address(self, arch):
arch = super(Partner, self)._fields_view_get_address(arch)
if not self._context.get('no_address_format'):
return arch
# render the partner address accordingly to address_view_id
doc = etree.fromstring(arch)
for city_node in doc.xpath("//field[@name='city']"):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment