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.

43 lines
1.3 KiB

  1. <odoo>
  2. <record id="pos_container_tree_view" model="ir.ui.view">
  3. <field name="name">pos.container.tree</field>
  4. <field name="model">pos.container</field>
  5. <field name="arch" type="xml">
  6. <tree>
  7. <field name="name"/>
  8. <field name="barcode"/>
  9. <field name="weight"/>
  10. </tree>
  11. </field>
  12. </record>
  13. <record id="pos_container_form_view" model="ir.ui.view">
  14. <field name="name">pos.container.form</field>
  15. <field name="model">pos.container</field>
  16. <field name="arch" type="xml">
  17. <form>
  18. <sheet>
  19. <group>
  20. <field name="name"/>
  21. <field name="barcode"/>
  22. <field name="weight"/>
  23. </group>
  24. </sheet>
  25. </form>
  26. </field>
  27. </record>
  28. <record id="pos_container_action_window" model="ir.actions.act_window" >
  29. <field name="name">Containers</field>
  30. <field name="res_model">pos.container</field>
  31. <field name="view_mode">tree,form</field>
  32. </record>
  33. <menuitem id="pos_container_menu"
  34. name="Containers"
  35. parent="point_of_sale.pos_config_menu_catalog"
  36. sequence="13"
  37. action="pos_container_action_window"
  38. groups="point_of_sale.group_pos_manager,point_of_sale.group_pos_user"
  39. />
  40. </odoo>