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.

60 lines
2.0 KiB

4 years ago
  1. <odoo>
  2. <record id="pos_transaction_tree_view" model="ir.ui.view">
  3. <field name="name">pos.transaction.tree</field>
  4. <field name="model">pos.transaction</field>
  5. <field name="arch" type="xml">
  6. <tree>
  7. <field name="balance_id"/>
  8. <field name="name"/>
  9. <field name="qrcode"/>
  10. <field name="ean13"/>
  11. <field name="ean13_verif"/>
  12. <field name="write_date"/>
  13. <field name="date_iso"/>
  14. <!-- <field name="weight"/> -->
  15. </tree>
  16. </field>
  17. </record>
  18. <record id="pos_transaction_form_view" model="ir.ui.view">
  19. <field name="name">pos.transaction.form</field>
  20. <field name="model">pos.transaction</field>
  21. <field name="arch" type="xml">
  22. <form>
  23. <sheet>
  24. <group>
  25. <group>
  26. <field name="balance_id"/>
  27. <field name="name"/>
  28. <field name="product_id"/>
  29. <field name="write_date"/>
  30. <field name="date_iso"/>
  31. </group>
  32. <group>
  33. <field name="ean13"/>
  34. <field name="ean13_verif"/>
  35. <field name="qrcode"/>
  36. <field name="weight_net"/>
  37. <field name="price_product"/>
  38. <field name="price_net"/>
  39. </group>
  40. </group>
  41. </sheet>
  42. </form>
  43. </field>
  44. </record>
  45. <record id="pos_transaction_action_window" model="ir.actions.act_window" >
  46. <field name="name">transactions</field>
  47. <field name="res_model">pos.transaction</field>
  48. <field name="view_mode">tree,form</field>
  49. </record>
  50. <menuitem id="pos_transaction_menu"
  51. name="transactions"
  52. parent="point_of_sale.pos_config_menu_catalog"
  53. sequence="13"
  54. action="pos_transaction_action_window"
  55. groups="point_of_sale.group_pos_manager,point_of_sale.group_pos_user"
  56. />
  57. </odoo>