|
@@ -0,0 +1,49 @@
|
|
1
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+<odoo>
|
|
3
|
+ <data>
|
|
4
|
+ <record id="pasien_view_form" model="ir.ui.view">
|
|
5
|
+ <field name="name">pasien_view_form</field>
|
|
6
|
+ <field name="model">klinik.pasien</field>
|
|
7
|
+ <field name="arch" type="xml">
|
|
8
|
+ <form>
|
|
9
|
+ <sheet>
|
|
10
|
+ <group>
|
|
11
|
+ <group>
|
|
12
|
+ <field name="name"/>
|
|
13
|
+ <field name="jenis_kelamin"/>
|
|
14
|
+ </group>
|
|
15
|
+ </group>
|
|
16
|
+
|
|
17
|
+ </sheet>
|
|
18
|
+ </form>
|
|
19
|
+ </field>
|
|
20
|
+ </record>
|
|
21
|
+
|
|
22
|
+ <record id="pasien_view_tree" model="ir.ui.view">
|
|
23
|
+ <field name="name">pasien_view_tree</field>
|
|
24
|
+ <field name="model">klinik.pasien</field>
|
|
25
|
+ <field name="arch" type="xml">
|
|
26
|
+ <tree>
|
|
27
|
+ <field name="name"/>
|
|
28
|
+ <field name="jenis_kelamin"/>
|
|
29
|
+ </tree>
|
|
30
|
+ </field>
|
|
31
|
+ </record>
|
|
32
|
+
|
|
33
|
+ <record model="ir.actions.act_window" id="klinik_pasien_action">
|
|
34
|
+ <field name="name">Pasien</field>
|
|
35
|
+ <field name="res_model">klinik.pasien</field>
|
|
36
|
+ <field name="view_mode">tree,form</field>
|
|
37
|
+ </record>
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+ <menuitem
|
|
41
|
+ id="klinik_menu_root"
|
|
42
|
+ name="Klinik"/>
|
|
43
|
+
|
|
44
|
+ <menuitem
|
|
45
|
+ id="klinik_menu_pasien"
|
|
46
|
+ name="Pasien" parent="klinik_menu_root"
|
|
47
|
+ action="klinik_pasien_action"/>
|
|
48
|
+ </data>
|
|
49
|
+</odoo>
|