diff options
| author | Jigar Amin <jam@tinyerp.com> | 2012-10-30 14:38:06 +0530 |
|---|---|---|
| committer | Jigar Amin <jam@tinyerp.com> | 2012-10-30 14:38:06 +0530 |
| commit | ee4cd1af53b5e932d1fcf64e19cab00a4ed96291 (patch) | |
| tree | 3df9f7da1549b5a99c53756013b9d6d09a60002c | |
| parent | a8546a3c975e83f95767efb78322e2931bbad404 (diff) | |
[FIX] crm lead country id shoud respect the state
bzr revid: jam@tinyerp.com-20121030090806-kdhfku7g8c108s8j
| -rw-r--r-- | addons/crm/crm_lead.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/crm/crm_lead.py b/addons/crm/crm_lead.py index 00f083bbc7f..8ed48049d69 100644 --- a/addons/crm/crm_lead.py +++ b/addons/crm/crm_lead.py @@ -251,7 +251,7 @@ class crm_lead(base_stage, format_address, osv.osv): 'street2': fields.char('Street2', size=128), 'zip': fields.char('Zip', change_default=True, size=24), 'city': fields.char('City', size=128), - 'state_id': fields.many2one("res.country.state", 'State', domain="[('country_id','=',country_id)]"), + 'state_id': fields.many2one("res.country.state", 'State'), 'country_id': fields.many2one('res.country', 'Country'), 'phone': fields.char('Phone', size=64), 'fax': fields.char('Fax', size=64), |
