Browse Source

Merge PR #1027 into 12.0

Signed-off-by pedrobaeza
12.0
OCA-git-bot 4 years ago
parent
commit
0549785188
  1. 2
      base_location/models/res_city_zip.py

2
base_location/models/res_city_zip.py

@ -32,7 +32,7 @@ class ResCityZip(models.Model):
] ]
@api.multi @api.multi
@api.depends('name', 'city_id')
@api.depends('name', 'city_id', 'city_id.state_id', 'city_id.country_id')
def _compute_new_display_name(self): def _compute_new_display_name(self):
for rec in self: for rec in self:
name = [rec.name, rec.city_id.name] name = [rec.name, rec.city_id.name]

Loading…
Cancel
Save