forked from Yaltik/golem
64 lines
1.7 KiB
XML
64 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2017 Fabien Bourgeois <fabien@yaltik.com>
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU Affero General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
<odoo>
|
|
<data>
|
|
|
|
<!-- Forms -->
|
|
<record id="test_form" model="ir.ui.view">
|
|
<field name="name">test form</field>
|
|
<field name="model">test.test</field>
|
|
<field name="arch" type="xml">
|
|
<form>
|
|
<group>
|
|
<field name="name" />
|
|
<field name="number" />
|
|
<field name="is_recurrent" />
|
|
</group>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<!-- Trees -->
|
|
<record model="ir.ui.view" id="test_tree">
|
|
<field name="name">test Tree/List</field>
|
|
<field name="model">test.test</field>
|
|
<field name="arch" type="xml">
|
|
<tree>
|
|
<field name="name" />
|
|
<field name="is_recurrent" />
|
|
<field name="number" />
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
|
|
<!-- Actions -->
|
|
<act_window id="test_action"
|
|
name="Test"
|
|
res_model="test.test"
|
|
view_mode="tree,form"
|
|
/>
|
|
|
|
|
|
<!-- Menus -->
|
|
<menuitem id="test_menu" name="Test" sequence="30"
|
|
action="test_action"
|
|
/>
|
|
</data>
|
|
</odoo>
|