[IMP]base/res : make contact type required

bzr revid: sbh@tinyerp.com-20120227123904-98m7kec2x64yosya
This commit is contained in:
Bhumika (OpenERP)
2012-02-27 18:09:04 +05:30
parent fa64c13138
commit 2c7d2973f2
+1 -1
View File
@@ -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),