[REM] crm_lead: removed newly added country field, that was present for backward compatibility.
bzr revid: tde@openerp.com-20120628144127-a0as825n7e26jlf7
This commit is contained in:
@@ -253,7 +253,6 @@ class crm_lead(base_stage, osv.osv):
|
||||
'city': fields.char('City', size=128),
|
||||
'state_id': fields.many2one("res.country.state", 'State', domain="[('country_id','=',country_id)]"),
|
||||
'country_id': fields.many2one('res.country', 'Country'),
|
||||
'country': fields.related('country_id', type='many2one', relation='res.country', string='Country'), # for backward compatibility
|
||||
'phone': fields.char('Phone', size=64),
|
||||
'fax': fields.char('Fax', size=64),
|
||||
'mobile': fields.char('Mobile', size=64),
|
||||
|
||||
@@ -590,7 +590,7 @@
|
||||
help="Opportunities that are assigned to either me or one of the sale teams I manage" />
|
||||
<separator orientation="vertical"/>
|
||||
<field name="user_id"/>
|
||||
<field name="country"/>
|
||||
<field name="country_id"/>
|
||||
<field name="partner_id"/>
|
||||
<field name="section_id"
|
||||
context="{'invisible_section': False, 'default_section_id': self}"/>
|
||||
|
||||
Reference in New Issue
Block a user