[IMP] crm : Added two new field 'Payment Mode' and 'Planned Costs' to 'crm.lead' object and its related changes in view.
bzr revid: mdi@tinyerp.com-20120731094932-rb1eh5stsqggts8k
This commit is contained in:
parent
b1e1e5c214
commit
900127206e
|
@ -259,6 +259,9 @@ class crm_lead(base_stage, osv.osv):
|
|||
'function': fields.char('Function', size=128),
|
||||
'title': fields.many2one('res.partner.title', 'Title'),
|
||||
'company_id': fields.many2one('res.company', 'Company', select=1),
|
||||
'payment_mode': fields.many2one('crm.case.resource.type', 'Campaign', \
|
||||
domain="[('section_id','=',section_id)]"),
|
||||
'planned_cost': fields.float('Planned Costs'),
|
||||
}
|
||||
|
||||
_defaults = {
|
||||
|
|
|
@ -558,6 +558,12 @@
|
|||
</group>
|
||||
</group>
|
||||
</page>
|
||||
<page string="Fund Raising">
|
||||
<group>
|
||||
<field name="payment_mode" string="Payment Mode" widget="selection"/>
|
||||
<field name="planned_cost"/>
|
||||
</group>
|
||||
</page>
|
||||
</notebook>
|
||||
</sheet>
|
||||
<div class="oe_chatter">
|
||||
|
|
Loading…
Reference in New Issue