Fix country domain on bank

bzr revid: ced-2dd0a189b5a0b1a4f33b56f4011077667fe3ecf6
This commit is contained in:
ced 2007-10-05 05:24:35 +00:00
parent 38e12990c9
commit 6800635128
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class Bank(osv.osv):
'zip': fields.char('Zip', change_default=True, size=24),
'city': fields.char('City', size=128),
'state': fields.many2one("res.country.state", 'State',
domain="[('country_id', '=', country_id)]"),
domain="[('country_id', '=', country)]"),
'country': fields.many2one('res.country', 'Country'),
'email': fields.char('E-Mail', size=64),
'phone': fields.char('Phone', size=64),