mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-19 12:52:00 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,19 @@
|
|||
<?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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue