You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

47 lines
1.9 KiB

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Failure history action-->
<record id="failure_history_action" model="ir.actions.act_window">
<field name="name">Failure History</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">failure.history</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Failure history tree view-->
<record id="failure_history_view_tree" model="ir.ui.view">
<field name="name">failure.history.view.tree</field>
<field name="model">failure.history</field>
<field name="arch" type="xml">
<tree create="false">
<field name="name"/>
</tree>
</field>
</record>
<!--failure history form view-->
<record id="failure_history_view_form" model="ir.ui.view">
<field name="name">failure.history.view.form</field>
<field name="model">failure.history</field>
<field name="arch" type="xml">
<form string="failure_history_form">
<sheet>
<group>
<field name="name"/>
</group>
<notebook>
<page string="Error Information">
<group>
<field name="error"/>
</group>
</page>
</notebook>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers" groups="base.group_user"/>
<field name="message_ids" widget="mail_thread"/>
</div>
</form>
</field>
</record>
<!-- failure history menu in technical menu in settings -->
<menuitem id="failure_history_menu" name="Cron Failure History" parent="base.menu_automation" action="failure_history_action"/>
</odoo>