menu.xml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="tmp_view_form_1013" model="ir.ui.view">
  5. <field name="name">tmp</field>
  6. <field name="model">we_chart.tmp</field>
  7. <field name="type">form</field>
  8. <field name="priority">999</field>
  9. <field name="arch" type="xml">
  10. <form string="menu" version="7.0" create="0" delete="0" edit="0" save="0" cancel="0" duplicate="0">
  11. <sheet>
  12. <group>
  13. 用于微信小程序菜单
  14. </group>
  15. </sheet>
  16. </form>
  17. </field>
  18. </record>
  19. <record id="tmp_action_410" model="ir.actions.act_window">
  20. <field name="name">tmp</field>
  21. <field name="res_model">we_chart.tmp</field>
  22. <!-- <field name="view_type">form</field>-->
  23. <field name="view_mode">form</field>
  24. <field name="target">current</field>
  25. <field name="view_ids"
  26. eval="[(5, 0, 0),
  27. (0, 0, {'view_mode': 'form', 'view_id': ref('tmp_view_form_1013')}),
  28. ]"/>
  29. </record>
  30. <menuitem id="parent_menu_401_1109111921" name="菜单" parent="parent_menu_319_1536754696" sequence="9999"/>
  31. <menuitem action="tmp_action_410" id="menu_repair_application" name="报修" parent="parent_menu_401_1109111921"
  32. sequence="10"/>
  33. <menuitem action="tmp_action_410" id="menu_repair_record" name="维修" parent="parent_menu_401_1109111921"
  34. sequence="20"/>
  35. <menuitem action="tmp_action_410" id="menu_knowledge" name="知识" parent="parent_menu_401_1109111921"
  36. sequence="30"/>
  37. <menuitem action="tmp_action_410" id="menu_spot_check_record" name="点检单" parent="parent_menu_401_1109111921"
  38. sequence="40"/>
  39. <menuitem action="tmp_action_410" id="menu_maintain_record" name="保养单" parent="parent_menu_401_1109111921"
  40. sequence="50"/>
  41. </data>
  42. </openerp>