mail/views/mail_guest_views.xml
Данил Воробьев 6e6f15d803 initial commit
2024-05-03 09:40:35 +00:00

48 lines
1.5 KiB
XML

<?xml version="1.0"?>
<odoo>
<record id="mail_guest_view_tree" model="ir.ui.view">
<field name="name">mail.guest.tree</field>
<field name="model">mail.guest</field>
<field name="priority">10</field>
<field name="arch" type="xml">
<tree string="Guests">
<field name="id"/>
<field name="name"/>
<field name="country_id"/>
<field name="lang"/>
<field name="timezone"/>
</tree>
</field>
</record>
<record id="mail_guest_view_form" model="ir.ui.view">
<field name="name">mail.guest.form</field>
<field name="model">mail.guest</field>
<field name="arch" type="xml">
<form string="Guest">
<sheet>
<group>
<group>
<field name="name"/>
<field name="country_id"/>
</group>
<group>
<field name="lang"/>
<field name="timezone"/>
<field name="channel_ids" widget="many2many_tags"/>
</group>
</group>
</sheet>
</form>
</field>
</record>
<record id="mail_guest_action" model="ir.actions.act_window">
<field name="name">Guests</field>
<field name="res_model">mail.guest</field>
<field name="view_mode">tree,form</field>
</record>
</odoo>