mirror of https://github.com/OCA/web.git
20 lines
824 B
XML
20 lines
824 B
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<odoo>
|
|
<!-- Add demo timeline view on crons so we can showcase this module without project_timeline. -->
|
|
<record id="ir_cron_timeline" model="ir.ui.view">
|
|
<field name="model">ir.cron</field>
|
|
<field name="type">timeline</field>
|
|
<field name="arch" type="xml">
|
|
<timeline date_start="nextcall" default_group_by="model_id" />
|
|
</field>
|
|
</record>
|
|
<!-- Append our view_mode this way to avoid overwriting changes done by other modules. -->
|
|
<function model="ir.actions.act_window" name="write">
|
|
<value eval="[ref('base.ir_cron_act')]" />
|
|
<value
|
|
model="ir.actions.act_window"
|
|
eval="{'view_mode': obj().env.ref('base.ir_cron_act').view_mode + ',timeline'}"
|
|
/>
|
|
</function>
|
|
</odoo>
|