Açıklama Yok
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.

ms_poli.xml 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <odoo>
  2. <data>
  3. <record model="ir.ui.view" id="ms_poli_tree_view">
  4. <field name="name">ms.poli.tree</field>
  5. <field name="model">ms.poli</field>
  6. <field name="arch" type="xml">
  7. <tree string="Poli" editable="top">
  8. <field name="kode"/>
  9. <field name="name"/>
  10. </tree>
  11. </field>
  12. </record>
  13. <record id="view_ms_poli_search" model="ir.ui.view">
  14. <field name="name">ms.poli.search</field>
  15. <field name="model">ms.poli</field>
  16. <field name="arch" type="xml">
  17. <search string="Search Poli">
  18. <field name="name"/>
  19. <field name="kode"/>
  20. </search>
  21. </field>
  22. </record>
  23. <record model="ir.actions.act_window" id="ms_poli_action">
  24. <field name="name">Poli</field>
  25. <field name="res_model">ms.poli</field>
  26. <field name="view_type">form</field>
  27. <field name="view_mode">tree,form</field>
  28. <field name="context">{}</field>
  29. <field name="domain">[]</field>
  30. </record>
  31. <record id="ms_poli_action_tree" model="ir.actions.act_window.view">
  32. <field eval="1" name="sequence"/>
  33. <field name="view_mode">tree</field>
  34. <field name="view_id" ref="ms_poli_tree_view"/>
  35. <field name="act_window_id" ref="ms_poli_action"/>
  36. </record>
  37. <menuitem action="ms_poli_action" id="ms_poli_menu" parent="ms_base.ms_data_master_submenu" sequence="30"/>
  38. </data>
  39. </odoo>