mail/views/discuss/discuss_gif_favorite_views.xml

40 lines
1.3 KiB
XML
Raw Normal View History

2024-05-03 12:40:35 +03:00
<?xml version="1.0"?>
<odoo>
<record id="discuss_gif_favorite_view_form" model="ir.ui.view">
<field name="name">discuss.gif.favorite.form</field>
<field name="model">discuss.gif.favorite</field>
<field name="arch" type="xml">
<form string="GIF favorite">
<sheet>
<group>
<field name="id"/>
<field name="tenor_gif_id"/>
<field name="create_uid"/>
</group>
</sheet>
</form>
</field>
</record>
<record id="discuss_gif_favorite_view_tree" model="ir.ui.view">
<field name="name">discuss.gif.favorite.tree</field>
<field name="model">discuss.gif.favorite</field>
<field name="priority">10</field>
<field name="arch" type="xml">
<tree string="GIF favorite">
<field name="id"/>
<field name="tenor_gif_id"/>
<field name="create_uid"/>
</tree>
</field>
</record>
<record id="discuss_gif_favorite_action" model="ir.actions.act_window">
<field name="name">GIF favorite</field>
<field name="res_model">discuss.gif.favorite</field>
<field name="view_mode">tree,form</field>
</record>
</odoo>