crm.lead model now supports activities. Filters have been added to ease their management. Mail activities replace the old crm.activity model. All code related to crm.activity is then removed, including views and custom widget. Standard activities feature is now used widely in Odoo addons and replace those custom activities. A small update is required in website_crm_partner_assign. Now the portal user can only update or create its own activities aka assigned to him. If he has an activity assigned to him it is displayed in the opportunity website view. If not editing the opportunity will create a new activity assigned to him.
25 lines
1.0 KiB
XML
25 lines
1.0 KiB
XML
<?xml version="1.0"?>
|
|
<odoo>
|
|
<record id="mail_activity_demo_followup_quote" model="mail.activity.type">
|
|
<field name="name">Follow-up Quote</field>
|
|
<field name="icon">fa-file-text-o</field>
|
|
<field name="res_model_id" ref="crm.model_crm_lead"/>
|
|
<field name="summary">Follow-up quote</field>
|
|
<field name="days">30</field>
|
|
</record>
|
|
<record id="mail_activity_demo_make_quote" model="mail.activity.type">
|
|
<field name="name">Make Quote</field>
|
|
<field name="icon">fa-file-text-o</field>
|
|
<field name="res_model_id" ref="crm.model_crm_lead"/>
|
|
<field name="summary">Send a quotation</field>
|
|
<field name="days">15</field>
|
|
</record>
|
|
<record id="mail_activity_demo_call_demo" model="mail.activity.type">
|
|
<field name="name">Call for Demo</field>
|
|
<field name="icon">fa-phone</field>
|
|
<field name="res_model_id" ref="crm.model_crm_lead"/>
|
|
<field name="days">10</field>
|
|
<field name="summary">Call for a demo</field>
|
|
</record>
|
|
</odoo>
|