pos_bill_view.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="view_pos_bill_form" model="ir.ui.view">
  4. <field name="name">pos.bill.form</field>
  5. <field name="model">pos.bill</field>
  6. <field name="arch" type="xml">
  7. <form string="Bills">
  8. <sheet>
  9. <group>
  10. <field name="name" />
  11. <field name="value" />
  12. <field name="pos_config_ids" widget="many2many_tags" />
  13. </group>
  14. </sheet>
  15. </form>
  16. </field>
  17. </record>
  18. <record id="view_pos_bill_tree" model="ir.ui.view">
  19. <field name="name">pos.bill.tree</field>
  20. <field name="model">pos.bill</field>
  21. <field name="arch" type="xml">
  22. <tree string="Bills" create="1" delete="1">
  23. <field name="name" />
  24. <field name="value" />
  25. <field name="pos_config_ids" widget="many2many_tags" />
  26. </tree>
  27. </field>
  28. </record>
  29. <record id="action_pos_bill" model="ir.actions.act_window">
  30. <field name="name">Coins/Bills</field>
  31. <field name="type">ir.actions.act_window</field>
  32. <field name="res_model">pos.bill</field>
  33. <field name="view_mode">tree,form</field>
  34. </record>
  35. <menuitem
  36. id="menu_pos_bill"
  37. name="Coins/Bills"
  38. parent="menu_point_config_product"
  39. sequence="4"
  40. action="action_pos_bill"
  41. groups="group_pos_manager"/>
  42. </odoo>