diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-09-17 11:20:53 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-09-17 11:20:53 +0700 |
| commit | 776d2eefc8d43462eee3992992088e066fecfe21 (patch) | |
| tree | fe7a55b50b458f275c5885f58e9650a595c8f2dc /fixco_custom/views/vit_kota.xml | |
| parent | bb49da69c2af4d32c6bbc99cbc74e86e1f695424 (diff) | |
push
Diffstat (limited to 'fixco_custom/views/vit_kota.xml')
| -rw-r--r-- | fixco_custom/views/vit_kota.xml | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/fixco_custom/views/vit_kota.xml b/fixco_custom/views/vit_kota.xml new file mode 100644 index 0000000..58c97eb --- /dev/null +++ b/fixco_custom/views/vit_kota.xml @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="vit_kota_tree" model="ir.ui.view"> + <field name="name">vit.kota.tree</field> + <field name="model">vit.kota</field> + <field name="arch" type="xml"> + <tree> + <field name="id"/> + <field name="name"/> + <field name="jenis"/> + <field name="state_id"/> + <field name="is_jabodetabek"/> + </tree> + </field> + </record> + + <record id="vit_kota_form" model="ir.ui.view"> + <field name="name">vit.kota.form</field> + <field name="model">vit.kota</field> + <field name="arch" type="xml"> + <form> + <sheet> + <div class="oe_title"> + <h1> + <field name="name" required="1"/> + </h1> + </div> + <group> + <group> + <field name="jenis"/> + <field name="state_id"/> + <field name="is_jabodetabek"/> + </group> + <group/> + </group> + </sheet> + </form> + </field> + </record> + + <record id="vit_kota_action" model="ir.actions.act_window"> + <field name="name">Kota</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">vit.kota</field> + <field name="view_mode">tree,form</field> + <field name="help" type="html"> + <p class="o_view_nocontent_smiling_face"> + Add Kota! + </p> + </field> + </record> + + <menuitem + id="vit_kota_menu" + name="Kota" + parent="contacts.res_partner_menu_config" + sequence="4" + action="vit_kota_action" + /> +</odoo>
\ No newline at end of file |
