wx_message_setting.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <openerp>
  2. <data>
  3. <record model="ir.ui.view" id="we_chart_wx_message_setting_list">
  4. <field name="name">消息设置列表</field>
  5. <field name="model">we_chart.wx_message_setting</field>
  6. <field name="arch" type="xml">
  7. <tree>
  8. <field name="model_id"/>
  9. <field name="template"/>
  10. </tree>
  11. </field>
  12. </record>
  13. <record model="ir.ui.view" id="we_chart_wx_message_setting_edit">
  14. <field name="name">消息设置新建</field>
  15. <field name="model">we_chart.wx_message_setting</field>
  16. <field name="arch" type="xml">
  17. <form>
  18. <sheet>
  19. <group name="group_top" string="消息设置" col="2">
  20. <field name="model_id" options="{'no_open':True,'no_create':True}"/>
  21. <field name="template"/>
  22. <field name="show" readonly="1"/>
  23. </group>
  24. </sheet>
  25. </form>
  26. </field>
  27. </record>
  28. <record model="ir.actions.act_window" id="we_chart_wx_message_setting_action_window">
  29. <field name="name">消息设置</field>
  30. <field name="res_model">we_chart.wx_message_setting</field>
  31. <field name="view_mode">tree,form</field>
  32. </record>
  33. <menuitem name="消息设置" id="we_chart.menu_wx_message_setting" parent="parent_menu_319_1536754696"
  34. action="we_chart_wx_message_setting_action_window" sequence="2"/>
  35. </data>
  36. </openerp>