[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:
Thibault Delavallée
2012-06-28 16:41:27 +02:00
parent 8ab9df4b6a
commit 016d10e0c2
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -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),
+1 -1
View File
@@ -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}"/>