47 lines
1.8 KiB
XML
47 lines
1.8 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<odoo>
|
||
|
<record id="edit_tour_form" model="ir.ui.view">
|
||
|
<field name="model">web_tour.tour</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<form create="0" edit="0">
|
||
|
<sheet>
|
||
|
<group>
|
||
|
<group>
|
||
|
<field name="name"/>
|
||
|
</group>
|
||
|
<group>
|
||
|
<field name="user_id"/>
|
||
|
</group>
|
||
|
</group>
|
||
|
</sheet>
|
||
|
</form>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record id="edit_tour_list" model="ir.ui.view">
|
||
|
<field name="model">web_tour.tour</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<tree string="Menu" create="0" edit="0">
|
||
|
<field name="name"/>
|
||
|
<field name="user_id"/>
|
||
|
</tree>
|
||
|
</field>
|
||
|
</record>
|
||
|
<record id="edit_tour_search" model="ir.ui.view">
|
||
|
<field name="name">tour.search</field>
|
||
|
<field name="model">web_tour.tour</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<search string="Tip">
|
||
|
<field name="name"/>
|
||
|
</search>
|
||
|
</field>
|
||
|
</record>
|
||
|
<record id="edit_tour_action" model="ir.actions.act_window">
|
||
|
<field name="name">Tours</field>
|
||
|
<field name="res_model">web_tour.tour</field>
|
||
|
<field name="view_id" ref="edit_tour_list"/>
|
||
|
<field name="search_view_id" ref="edit_tour_search"/>
|
||
|
</record>
|
||
|
<menuitem action="edit_tour_action" id="menu_tour_action" parent="base.next_id_2" sequence="5"/>
|
||
|
</odoo>
|