[IMP]base/res : make contact type required
bzr revid: sbh@tinyerp.com-20120227123904-98m7kec2x64yosya
This commit is contained in:
@@ -155,7 +155,7 @@ class res_partner(osv.osv):
|
||||
'fax': fields.char('Fax', size=64),
|
||||
'mobile': fields.char('Mobile', size=64),
|
||||
'birthdate': fields.char('Birthdate', size=64),
|
||||
'is_company': fields.selection( [ ('contact','Person'),('partner','Company') ],'Contact Type', help="Select if the partner is a company or person"),
|
||||
'is_company': fields.selection( [ ('contact','Person'),('partner','Company') ],'Contact Type', help="Select if the partner is a company or person",required=True),
|
||||
'use_parent_address': fields.boolean('Use Company Address', help="Check to use the company's address"),
|
||||
'photo': fields.binary('Photo'),
|
||||
'company_id': fields.many2one('res.company', 'Company', select=1),
|
||||
|
||||
Reference in New Issue
Block a user