This commit improves fleet contracts management through a better integration of activities and addition of automated activities. Several things are done in this commit : * fleet vehicle log contract does not inherit from mail.activity.mixin. This commit adds the inherit so that fleet users and managers can now schedule and manage activities on vehicle contracts. This will help them in their daily job; * automatic activities generation is added when contracts are nearly expired and renewal is required; * a menu to configure activity types is added. Indeed fleet managers should be able to see and configure activity types related to their job; * filters are added to be able to use the systray and to filter the kanban view based on activities Having automated activities allow to replace some messages posted on the contract. Indeed currently there are messages posted on vehicles about contracts to renew. As we now have automated activities on contracts to remind assigned people to renew it the log can be safely removed. It will lessen noise generated on chatter.
11 lines
351 B
XML
11 lines
351 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo><data noupdate="1">
|
|
|
|
<record id="mail_act_fleet_contract_to_renew" model="mail.activity.type">
|
|
<field name="name">Contract to Renew</field>
|
|
<field name="icon">fa-car</field>
|
|
<field name="res_model_id" ref="fleet.model_fleet_vehicle_log_contract"/>
|
|
</record>
|
|
|
|
</data></odoo>
|