It was possible to define a delay in days on activity type to reschedule next activity. It is now possible to specify a unit (days, weeks, months) and a starting point for the delay (as before, from the moment when the new activity is scheduled, but also after the deadline of the previous activity). We realy need to have all javascript action triggering a done and schedule next to call the python corresponding method on activities. A part of the work have been there but some cleaning could still be done in activity.js. Task: #1870662 PR: #26272
22 lines
918 B
XML
22 lines
918 B
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="delay_count">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="delay_count">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="delay_count">10</field>
|
|
</record>
|
|
</odoo>
|