[IMP] res.partner.address: changed the _order from 'name' to 'type, name'
bzr revid: qdp-launchpad@tinyerp.com-20110117151757-uk8m60upj1lc71sv
This commit is contained in:
@@ -273,7 +273,7 @@ res_partner()
|
||||
class res_partner_address(osv.osv):
|
||||
_description ='Partner Addresses'
|
||||
_name = 'res.partner.address'
|
||||
_order = 'name'
|
||||
_order = 'type, name'
|
||||
_columns = {
|
||||
'partner_id': fields.many2one('res.partner', 'Partner Name', ondelete='set null', select=True, help="Keep empty for a private address, not related to partner."),
|
||||
'type': fields.selection( [ ('default','Default'),('invoice','Invoice'), ('delivery','Delivery'), ('contact','Contact'), ('other','Other') ],'Address Type', help="Used to select automatically the right address according to the context in sales and purchases documents."),
|
||||
|
||||
Reference in New Issue
Block a user