[IMP] crm: modifying a new option into a selection field + radio button
This commit is contained in:
@@ -15,8 +15,10 @@ class crm_configuration(osv.TransientModel):
|
||||
help="Odoo will generate an email alias based on the sales team name"),
|
||||
'alias_prefix': fields.char('Default Alias Name for Leads'),
|
||||
'alias_domain' : fields.char('Alias Domain'),
|
||||
'group_use_lead': fields.boolean(
|
||||
"Use leads if you need a qualification step before creating an opportunity or a customer",
|
||||
'group_use_lead': fields.selection([
|
||||
(0, "Each mail sent to the alias creates a new opportunity"),
|
||||
(1, "Use leads if you need a qualification step before creating an opportunity or a customer")
|
||||
], "Leads",
|
||||
implied_group='crm.group_use_lead')
|
||||
}
|
||||
|
||||
|
||||
@@ -29,13 +29,7 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</group>
|
||||
<group>
|
||||
<label for="id" string="Manage Leads"/>
|
||||
<div>
|
||||
<field name="group_use_lead" class="oe_inline"/>
|
||||
<label for="group_use_lead"/>
|
||||
</div>
|
||||
<field name="group_use_lead" widget="radio"/>
|
||||
</group>
|
||||
</div>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user