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

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2016-2017 LasLabs Inc.
  3. License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). -->
  4. <odoo>
  5. <record id="slick_example_view_form" model="ir.ui.view">
  6. <field name="name">slick.example.view.form</field>
  7. <field name="model">slick.example</field>
  8. <field name="arch" type="xml">
  9. <form string="Slick Example">
  10. <header />
  11. <sheet>
  12. <group>
  13. <field name="image_ids" widget="one2many_slick_images"
  14. options="{'slidesToShow': 2}" />
  15. </group>
  16. </sheet>
  17. <footer />
  18. </form>
  19. </field>
  20. </record>
  21. <record id="slick_example_view_tree" model="ir.ui.view">
  22. <field name="name">slick.example.view.tree</field>
  23. <field name="model">slick.example</field>
  24. <field name="arch" type="xml">
  25. <tree string="Slick Example">
  26. <field name="id" />
  27. </tree>
  28. </field>
  29. </record>
  30. <record id="slick_example_action" model="ir.actions.act_window">
  31. <field name="name">Slick Examples</field>
  32. <field name="res_model">slick.example</field>
  33. <field name="type">ir.actions.act_window</field>
  34. <field name="view_type">form</field>
  35. <field name="view_mode">tree,form</field>
  36. </record>
  37. <menuitem id="slick_example_menu"
  38. name="Slick"
  39. parent="base.menu_custom"
  40. action="slick_example_action"
  41. sequence="1" />
  42. </odoo>