Before this commit, editing a mail.activity with the "meeting" category would open a modal form for the mail.activity, which did not make much sense. When editing a mail.activity that is linked to a calendar.event, you will now jump on the calendar view to edit the related event, which is much more convenient. In addition, when scheduling such an activity, the "Edit" button in the chatter is renamed to "Reschedule", to show the user that he will land on the calendar view. Furthermore, trying to delete an activity that is linked to a meeting will now prompt a confirmation dialog warning the user that the meeting will be deleted as well. Finally, we moved the 'phonecall' activity category from the 'voip' module (enterprise) to the base 'mail' module. Scheduling a phonecall activity will let the user choose if he wants to: - Simply save the activity, which will schedule a regular mail.activity - Open the calendar to create a related calendar.event Used typically when you want your colleagues to see that you are busy in your calendar during this call. Task-2486126 ENT PR odoo/enterprise#20431 UPG PR odoo/upgrade#2775 closes odoo/odoo#75530 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com> Co-authored-by: Aurélien Warnon <awa@odoo.com>
44 lines
1.9 KiB
XML
44 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data noupdate="1">
|
|
<record id="mail_activity_data_email" model="mail.activity.type">
|
|
<field name="name">Email</field>
|
|
<field name="icon">fa-envelope</field>
|
|
<field name="sequence">3</field>
|
|
</record>
|
|
<record id="mail_activity_data_call" model="mail.activity.type">
|
|
<field name="name">Call</field>
|
|
<field name="icon">fa-phone</field>
|
|
<field name="category">phonecall</field>
|
|
<field name="delay_count">2</field>
|
|
<field name="sequence">6</field>
|
|
</record>
|
|
<record id="mail_activity_data_meeting" model="mail.activity.type">
|
|
<field name="name">Meeting</field>
|
|
<field name="icon">fa-users</field>
|
|
<field name="sequence">9</field>
|
|
</record>
|
|
<record id="mail_activity_data_todo" model="mail.activity.type">
|
|
<field name="name">To Do</field>
|
|
<field name="icon">fa-tasks</field>
|
|
<field name="delay_count">5</field>
|
|
<field name="sequence">12</field>
|
|
</record>
|
|
<record id="mail_activity_data_upload_document" model="mail.activity.type">
|
|
<field name="name">Upload Document</field>
|
|
<field name="icon">fa-upload</field>
|
|
<field name="delay_count">5</field>
|
|
<field name="sequence">25</field>
|
|
<field name="category">upload_file</field>
|
|
</record>
|
|
<record id="mail_activity_data_warning" model="mail.activity.type">
|
|
<field name="name">Exception</field>
|
|
<field name="icon">fa-warning</field>
|
|
<field name="delay_count">0</field>
|
|
<field name="sequence">99</field>
|
|
<field name="decoration_type">warning</field>
|
|
<field name="active">False</field>
|
|
</record>
|
|
</data>
|
|
</odoo>
|