12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?xml version="1.0" encoding="utf-8"?>
- <odoo>
- <data>
- <record id="pasien_view_form" model="ir.ui.view">
- <field name="name">pasien_view_form</field>
- <field name="model">klinik.pasien</field>
- <field name="arch" type="xml">
- <form>
- <sheet>
- <group>
- <group>
- <field name="name"/>
- <field name="jenis_kelamin"/>
- </group>
- </group>
-
- </sheet>
- </form>
- </field>
- </record>
-
- <record id="pasien_view_tree" model="ir.ui.view">
- <field name="name">pasien_view_tree</field>
- <field name="model">klinik.pasien</field>
- <field name="arch" type="xml">
- <tree>
- <field name="name"/>
- <field name="jenis_kelamin"/>
- </tree>
- </field>
- </record>
-
- <record model="ir.actions.act_window" id="klinik_pasien_action">
- <field name="name">Pasien</field>
- <field name="res_model">klinik.pasien</field>
- <field name="view_mode">tree,form</field>
- </record>
-
-
- <menuitem
- id="klinik_menu_root"
- name="Klinik"/>
-
- <menuitem
- id="klinik_menu_pasien"
- name="Pasien" parent="klinik_menu_root"
- action="klinik_pasien_action"/>
- </data>
- </odoo>
|