<!-- CASE CATEGORY2(category2_id) -->
- <record model="crm.case.category2" id="categ2_fund1">
+ <record model="crm.fundraising.type" id="categ2_fund1">
<field name="name">Cash</field>
<field name="section_id" ref="section_sales_department"/>
</record>
- <record model="crm.case.category2" id="categ2_fund2">
+ <record model="crm.fundraising.type" id="categ2_fund2">
<field name="name">Cheque</field>
<field name="section_id" ref="section_sales_department"/>
</record>
- <record model="crm.case.category2" id="categ2_fund3">
+ <record model="crm.fundraising.type" id="categ2_fund3">
<field name="name">Credit Card</field>
<field name="section_id" ref="section_sales_department"/>
</record>
}
crm_fundraising_categ()
+class crm_fundraising_type(osv.osv):
+ _name = "crm.fundraising.type"
+ _description = "Fundraising Type"
+ _rec_name = "name"
+ _columns = {
+ 'name': fields.char('Fundraising Type Name', size=64, required=True, translate=True),
+ 'section_id': fields.many2one('crm.case.section', 'Case Section'),
+ }
+
+crm_fundraising_type()
+
class crm_fundraising(osv.osv):
_name = "crm.fundraising"
_description = "Fund Raising Cases"
}
crm_helpdesk_categ()
+class crm_helpdesk_type(osv.osv):
+ _name = "crm.helpdesk.type"
+ _description = "Helpdesk Type"
+ _rec_name = "name"
+ _columns = {
+ 'name': fields.char('Helpdesk Type Name', size=64, required=True, translate=True),
+ 'section_id': fields.many2one('crm.case.section', 'Case Section'),
+ }
+crm_helpdesk_type()
class crm_helpdesk(osv.osv):
_name = "crm.helpdesk"
_description = "Helpdesk Cases"
'probability': lambda *args: 0.0
}
crm_lead_categ()
+
+class crm_lead_type(osv.osv):
+ _name = "crm.lead.type"
+ _description = "Lead Type"
+ _rec_name = "name"
+ _columns = {
+ 'name': fields.char('lead Type Name', size=64, required=True, translate=True),
+ 'section_id': fields.many2one('crm.case.section', 'Case Section'),
+ }
+crm_lead_type()
+
class crm_opportunity(osv.osv):
_name = "crm.opportunity"
crm_opportunity()
</record>
<!-- CASE CATEGORY2(category2_id) -->
- <record model="crm.case.category2" id="category_lead1">
+ <record model="crm.lead.type" id="category_lead1">
<field name="name">Telesales</field>
<field name="section_id" ref="section_sales_department"/>
</record>
- <record model="crm.case.category2" id="category_lead2">
+ <record model="crm.lead.type" id="category_lead2">
<field name="name">Mail</field>
<field name="section_id" ref="section_sales_department"/>
</record>
- <record model="crm.case.category2" id="category_lead3">
+ <record model="crm.lead.type" id="category_lead3">
<field name="name">Email</field>
<field name="section_id" ref="section_sales_department"/>
</record>
- <record model="crm.case.category2" id="category_lead4">
+ <record model="crm.lead.type" id="category_lead4">
<field name="name">Print</field>
<field name="section_id" ref="section_sales_department"/>
</record>
- <record model="crm.case.category2" id="category_lead5">
+ <record model="ccrm.lead.type" id="category_lead5">
<field name="name">Web</field>
<field name="section_id" ref="section_sales_department"/>
</record>
- <record model="crm.case.category2" id="category_lead6">
+ <record model="crm.lead.type" id="category_lead6">
<field name="name">Radio</field>
<field name="section_id" ref="section_sales_department"/>
</record>
- <record model="crm.case.category2" id="category_lead7">
+ <record model="ccrm.lead.type" id="category_lead7">
<field name="name">Television</field>
<field name="section_id" ref="section_sales_department"/>
</record>
- <record model="crm.case.category2" id="category_lead8">
+ <record model="crm.lead.type" id="category_lead8">
<field name="name">Newsletter</field>
<field name="section_id" ref="section_sales_department"/>
</record>
}
crm_opportunity_categ()
+class crm_opportunity_type(osv.osv):
+ _name = "crm.opportunity.type"
+ _description = "Opportunity Type"
+ _rec_name = "name"
+ _columns = {
+ 'name': fields.char('lead Type Name', size=64, required=True, translate=True),
+ 'section_id': fields.many2one('crm.case.section', 'Case Section'),
+ }
+crm_opportunity_type()
+
class crm_opportunity(osv.osv):
_name = "crm.opportunity"
_description = "Opportunity Cases"
</record>
<!-- CASE CATEGORY2(category2_id) -->
- <record model="crm.case.category2" id="category_oppor1">
+ <record model="crm.opportunity.type" id="category_oppor1">
<field name="name">Existing Business</field>
<field name="section_id" ref="section_sales_department"/>
</record>
- <record model="crm.case.category2" id="category_oppor2">
+ <record model="crm.opportunity.type" id="category_oppor2">
<field name="name">New Business</field>
<field name="section_id" ref="section_sales_department"/>
</record>
'probability': lambda *args: 0.0
}
crm_phonecall_categ()
-
class crm_phonecall(osv.osv):
_name = "crm.phonecall"
_description = "Phonecall Cases"