diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 17:21:18 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 17:21:18 +0700 |
| commit | 803e4f8b3cf9c1d6a43a354023edc1e065f4121e (patch) | |
| tree | b462ac26fd679c449f848dc8a2de7fc1b8fe3c5c /indoteknik_custom/views/x_manufactures.xml | |
| parent | 37c91dd605b4ff1acc9941eed549164eb7de2089 (diff) | |
initial commit 2
Diffstat (limited to 'indoteknik_custom/views/x_manufactures.xml')
| -rw-r--r-- | indoteknik_custom/views/x_manufactures.xml | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/indoteknik_custom/views/x_manufactures.xml b/indoteknik_custom/views/x_manufactures.xml new file mode 100644 index 00000000..afecea9b --- /dev/null +++ b/indoteknik_custom/views/x_manufactures.xml @@ -0,0 +1,73 @@ +<odoo> + <data> + <record id="x_manufactures_action" model="ir.actions.act_window"> + <field name="name">Manufacture</field> + <field name="res_model">x_manufactures</field> + <field name="view_mode">tree,form</field> + <field name="help" type="html"> + <p class="o_view_nocontent_smiling_face"> + Add Manufactures! + </p> + </field> + </record> + + <record id="x_manufactures_tree" model="ir.ui.view"> + <field name="name">Manufactures</field> + <field name="model">x_manufactures</field> + <field name="arch" type="xml"> + <tree> + <field name="id"/> + <field name="x_name"/> + <field name="x_negara_asal"/> + <field name="x_short_desc"/> + <field name="x_manufacture_level"/> + <field name="x_manufacture_service_center"/> + </tree> + </field> + </record> + + <record id="x_manufactures_form" model="ir.ui.view"> + <field name="name">Manufactures</field> + <field name="model">x_manufactures</field> + <field name="arch" type="xml"> + <form> + <sheet string="Manufactures" modifiers="{}"> + <div class="oe_button_box" name="button_box"/> + <group> + <group> + <field name="x_name"/> + <field name="x_negara_asal"/> + <field name="x_short_desc"/> + <field name="x_manufacture_level"/> + <field name="x_produk_aksesoris_sparepart"/> + </group> + <group> + <field name="x_logo_manufacture" widget="image"/> + </group> + </group> + <notebook> + <page string="Description"> + <field name="x_description"/> + </page> + <page string="Relasi Produk"> + <field name="x_manufacture_product"/> + </page> + <page string="Relasi Banner"> + <field name="x_manufactures_banners"/> + </page> + <page string="Relasi Service Center"> + <field name="x_manufacture_service_center"/> + </page> + </notebook> + </sheet> + </form> + </field> + </record> + + <menuitem id="x_manufactures_sale" + name="Manufactures" + parent="sale.product_menu_catalog" + sequence="3" + action="x_manufactures_action"/> + </data> +</odoo>
\ No newline at end of file |
