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.
 
 
 
 
 

46 lines
1.6 KiB

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2016-2017 LasLabs Inc.
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). -->
<odoo>
<record id="slick_example_view_form" model="ir.ui.view">
<field name="name">slick.example.view.form</field>
<field name="model">slick.example</field>
<field name="arch" type="xml">
<form string="Slick Example">
<header />
<sheet>
<group>
<field name="image_ids" widget="one2many_slick_images"
options="{'slidesToShow': 2}" />
</group>
</sheet>
<footer />
</form>
</field>
</record>
<record id="slick_example_view_tree" model="ir.ui.view">
<field name="name">slick.example.view.tree</field>
<field name="model">slick.example</field>
<field name="arch" type="xml">
<tree string="Slick Example">
<field name="id" />
</tree>
</field>
</record>
<record id="slick_example_action" model="ir.actions.act_window">
<field name="name">Slick Examples</field>
<field name="res_model">slick.example</field>
<field name="type">ir.actions.act_window</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem id="slick_example_menu"
name="Slick"
parent="base.menu_custom"
action="slick_example_action"
sequence="1" />
</odoo>