[MERGE] forward port branch 10.0 up to d59fe9c58c
This commit is contained in:
@@ -35,5 +35,7 @@ class ResCountry(models.Model):
|
|||||||
states = res
|
states = res
|
||||||
break
|
break
|
||||||
states |= carrier.state_ids
|
states |= carrier.state_ids
|
||||||
|
if not states:
|
||||||
|
states = states.search([('country_id', '=', self.id)])
|
||||||
res = res & states
|
res = res & states
|
||||||
return res
|
return res
|
||||||
|
|||||||
Reference in New Issue
Block a user