Files
odoo_source/addons/fleet/data/mail_data.xml
T
Christophe Simonis 2602642a78 [IMP] mail,*: remove useless field is_master_data
This field is a non-sense. By using the same logic, it should be added
to any low level model.
Replace the check by a simple verification of presence of an XMLID.

A more generic opt-in solution should be integrated into ORM.

Partially revert commits 0db0e66e96 and
bbd64c22ab.

See #29257 odoo/enterprise#3550

closes odoo/odoo#31778

Signed-off-by: Christophe Simonis <chs@odoo.com>
2019-03-12 10:29:51 +00:00

19 lines
739 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>
<record id="mt_fleet_driver_updated" model="mail.message.subtype">
<field name="name">Changed Driver</field>
<field name="sequence">0</field>
<field name="res_model">fleet.vehicle</field>
<field name="default" eval="True"/>
<field name="description">Changed Driver</field>
</record>
</data>
</odoo>