bzr revid: fp@tinyerp.com-552223ca23073424b53502036541baa01a5d4653
This commit is contained in:
Fabien Pinckaers 2008-05-15 08:22:40 +00:00
parent 7ee6ea5d76
commit bfce25777d
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class Country(osv.osv):
ids = self.search(cr, user, [('name', operator, name)] + args,
limit=limit, context=context)
return self.name_get(cr, user, ids, context)
_order='code'
_order='name'
def create(self, cursor, user, vals, context=None):
if 'code' in vals: