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 | |
| parent | 37c91dd605b4ff1acc9941eed549164eb7de2089 (diff) | |
initial commit 2
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/coupon_program.xml | 24 | ||||
| -rw-r--r-- | indoteknik_custom/views/product_public_category.xml | 34 | ||||
| -rw-r--r-- | indoteknik_custom/views/product_template.xml | 40 | ||||
| -rw-r--r-- | indoteknik_custom/views/vit_kecamatan.xml | 56 | ||||
| -rw-r--r-- | indoteknik_custom/views/vit_kelurahan.xml | 58 | ||||
| -rw-r--r-- | indoteknik_custom/views/vit_kota.xml | 58 | ||||
| -rw-r--r-- | indoteknik_custom/views/x_banner_banner.xml | 62 | ||||
| -rw-r--r-- | indoteknik_custom/views/x_banner_category.xml | 54 | ||||
| -rw-r--r-- | indoteknik_custom/views/x_biaya_kirim.xml | 64 | ||||
| -rw-r--r-- | indoteknik_custom/views/x_manufactures.xml | 73 | ||||
| -rw-r--r-- | indoteknik_custom/views/x_partner_purchase_order.xml | 56 | ||||
| -rw-r--r-- | indoteknik_custom/views/x_product_tags.xml | 50 |
12 files changed, 629 insertions, 0 deletions
diff --git a/indoteknik_custom/views/coupon_program.xml b/indoteknik_custom/views/coupon_program.xml new file mode 100644 index 00000000..e4ad0bd8 --- /dev/null +++ b/indoteknik_custom/views/coupon_program.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="coupon_program_form_view_inherit" model="ir.ui.view"> + <field name="name">coupon.program.inherited</field> + <field name="model">coupon.program</field> + <field name="inherit_id" ref="coupon.coupon_program_view_promo_program_form"/> + <field name="arch" type="xml"> + <xpath expr="//form[1]/sheet[1]/div[1]" position="inside"> + <button name="toggle_active" type="object" class="oe_stat_button" icon="fa-archive" modifiers="{}" options="{}"> + <field name="active" widget="boolean_button" options="{'terminology': 'close'}" modifiers="{}"/> + </button> + </xpath> + <xpath expr="//field[@name='rule_date_to']" position="after"> + <field name="x_studio_field_Ifopn" width="80" widget="image"/> + <field name="x_studio_field_2Ul77" width="80" widget="image"/> + <field name="x_studio_image_promo" width="80" widget="image"/> + <field name="x_studio_banner_promo" width="80" widget="image"/> + </xpath> + <xpath expr="//form[1]/sheet[1]" position="inside"> + <field name="x_studio_field_xo3cl" string="Relasi Banner"/> + </xpath> + </field> + </record> +</odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/product_public_category.xml b/indoteknik_custom/views/product_public_category.xml new file mode 100644 index 00000000..858d7ada --- /dev/null +++ b/indoteknik_custom/views/product_public_category.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="product_public_category_form_view_inherit" model="ir.ui.view"> + <field name="name">product.public.category.inherited</field> + <field name="model">product.public.category</field> + <field name="inherit_id" ref="website_sale.product_public_category_form_view"/> + <field name="arch" type="xml"> + <xpath expr="//field[@name='name']" position="after"> + <field name="x_studio_field_d1HS4"/> + <field name="x_studio_field_f54P2"/> + <field name="x_studio_field_BfNp2"/> + <field name="website_id"/> + </xpath> + <xpath expr="//field[@name='sequence']" position="after"> +<!-- <field name="display_name"/>--> + <field name="website_meta_title"/> + <field name="website_meta_keywords"/> + <field name="website_meta_description"/> +<!-- <field name="image_1024" string="Image Small" widget="image"/>--> + <field name="x_studio_field_4qhoN"/> + </xpath> + <xpath expr="//form[1]/sheet[1]/div[1]/group[1]" position="after"> + <notebook> + <page string="Banner Index" name="banners"> + <field name="x_studio_field_7bVEO"/> + </page> + <page string="Produk Template" name="product_templates"> + <field name="product_tmpl_ids"/> + </page> + </notebook> + </xpath> + </field> + </record> +</odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/product_template.xml b/indoteknik_custom/views/product_template.xml new file mode 100644 index 00000000..78aac34a --- /dev/null +++ b/indoteknik_custom/views/product_template.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <data> + <record id="product_template_form_view_inherit" model="ir.ui.view"> + <field name="name">Product Template</field> + <field name="model">product.template</field> + <field name="inherit_id" ref="product.product_template_form_view"/> + <field name="arch" type="xml"> + <field name="categ_id" position="after"> + <field name="x_manufacture"/> + <field name="x_model_product"/> + <field name="x_studio_field_tGhJR" widget="many2many_tags"/> + </field> + <page name="inventory" position="after"> + <page string="Marketplace" name="marketplace"> + <group> + <group> + <field name="x_lazada"/> + </group> + <group> + <field name="x_tokopedia"/> + </group> + </group> + </page> + </page> + </field> + </record> + + <record id="x_manufactures_group_by" model="ir.ui.view"> + <field name="name">product.template.search.inherit</field> + <field name="model">product.template</field> + <field name="inherit_id" ref="product.product_template_search_view"/> + <field name="arch" type="xml"> + <xpath expr="//search" position="inside"> + <filter string="Manufacture" name="Manufacture" context="{'group_by':'x_manufacture'}"/> + </xpath> + </field> + </record> + </data> +</odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/vit_kecamatan.xml b/indoteknik_custom/views/vit_kecamatan.xml new file mode 100644 index 00000000..09ae6920 --- /dev/null +++ b/indoteknik_custom/views/vit_kecamatan.xml @@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="vit_kecamatan_tree" model="ir.ui.view"> + <field name="name">vit.kecamatan.tree</field> + <field name="model">vit.kecamatan</field> + <field name="arch" type="xml"> + <tree> + <field name="id"/> + <field name="name"/> + <field name="kota_id"/> + </tree> + </field> + </record> + + <record id="vit_kecamatan_form" model="ir.ui.view"> + <field name="name">vit.kecamatan.form</field> + <field name="model">vit.kecamatan</field> + <field name="arch" type="xml"> + <form> + <sheet> + <div class="oe_title"> + <h1> + <field name="name" required="1"/> + </h1> + </div> + <group> + <group> + <field name="kota_id"/> + </group> + <group/> + </group> + </sheet> + </form> + </field> + </record> + + <record id="vit_kecamatan_action" model="ir.actions.act_window"> + <field name="name">Kecamatan</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">vit.kecamatan</field> + <field name="view_mode">tree,form</field> + <field name="help" type="html"> + <p class="o_view_nocontent_smiling_face"> + Add Kecamatan! + </p> + </field> + </record> + + <menuitem + id="vit_kecamatan_menu" + name="Kecamatan" + parent="contacts.res_partner_menu_config" + sequence="4" + action="vit_kecamatan_action" + /> +</odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/vit_kelurahan.xml b/indoteknik_custom/views/vit_kelurahan.xml new file mode 100644 index 00000000..afbf84e0 --- /dev/null +++ b/indoteknik_custom/views/vit_kelurahan.xml @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="vit_kelurahan_tree" model="ir.ui.view"> + <field name="name">vit.kelurahan.tree</field> + <field name="model">vit.kelurahan</field> + <field name="arch" type="xml"> + <tree> + <field name="id"/> + <field name="name"/> + <field name="kecamatan_id"/> + <field name="zip"/> + </tree> + </field> + </record> + + <record id="vit_kelurahan_form" model="ir.ui.view"> + <field name="name">vit.kelurahan.form</field> + <field name="model">vit.kelurahan</field> + <field name="arch" type="xml"> + <form> + <sheet> + <div class="oe_title"> + <h1> + <field name="name" required="1"/> + </h1> + </div> + <group> + <group> + <field name="kecamatan_id"/> + <field name="zip"/> + </group> + <group/> + </group> + </sheet> + </form> + </field> + </record> + + <record id="vit_kelurahan_action" model="ir.actions.act_window"> + <field name="name">Kelurahan</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">vit.kelurahan</field> + <field name="view_mode">tree,form</field> + <field name="help" type="html"> + <p class="o_view_nocontent_smiling_face"> + Add Kelurahan! + </p> + </field> + </record> + + <menuitem + id="vit_kelurahan_menu" + name="Kelurahan" + parent="contacts.res_partner_menu_config" + sequence="4" + action="vit_kelurahan_action" + /> +</odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/vit_kota.xml b/indoteknik_custom/views/vit_kota.xml new file mode 100644 index 00000000..97c7e66c --- /dev/null +++ b/indoteknik_custom/views/vit_kota.xml @@ -0,0 +1,58 @@ +<?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"/> + </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"/> + </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 diff --git a/indoteknik_custom/views/x_banner_banner.xml b/indoteknik_custom/views/x_banner_banner.xml new file mode 100644 index 00000000..f48b20c4 --- /dev/null +++ b/indoteknik_custom/views/x_banner_banner.xml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="x_banner_banner_tree" model="ir.ui.view"> + <field name="name">x_banner.banner.tree</field> + <field name="model">x_banner.banner</field> + <field name="arch" type="xml"> + <tree> + <field name="id"/> + <field name="x_name"/> + <field name="x_banner_category"/> + <field name="x_relasi_manufacture"/> + <field name="x_studio_field_7ppSi"/> + <field name="x_url_banner"/> + <field name="x_status_banner"/> + </tree> + </field> + </record> + + <record id="banner_form" model="ir.ui.view"> + <field name="name">x_banner.banner.form</field> + <field name="model">x_banner.banner</field> + <field name="arch" type="xml"> + <form> + <sheet> + <group> + <group> + <field name="x_name"/> + <field name="x_banner_category"/> + <field name="x_relasi_manufacture"/> + <field name="x_url_banner"/> + <field name="x_status_banner"/> + <field name="x_studio_field_7ppSi"/> + </group> + <group> + <field name="x_banner_image" widget="image"/> + </group> + </group> + </sheet> + </form> + </field> + </record> + + <record id="banner_action" model="ir.actions.act_window"> + <field name="name">Banner</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">x_banner.banner</field> + <field name="view_mode">tree,form</field> + <field name="help" type="html"> + <p class="o_view_nocontent_smiling_face"> + Add Banner! + </p> + </field> + </record> + + <menuitem + id="menu_x_banner_banner" + name="Banner" + parent="sale.product_menu_catalog" + sequence="4" + action="banner_action" + /> +</odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/x_banner_category.xml b/indoteknik_custom/views/x_banner_category.xml new file mode 100644 index 00000000..0c2e053d --- /dev/null +++ b/indoteknik_custom/views/x_banner_category.xml @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="banner_category_tree" model="ir.ui.view"> + <field name="name">x.banner.category.tree</field> + <field name="model">x_banner.category</field> + <field name="arch" type="xml"> + <tree> + <field name="id"/> + <field name="x_name"/> + <field name="x_banner_subtitle"/> + <field name="x_studio_field_KKVl4"/> + </tree> + </field> + </record> + + <record id="banner_category_form" model="ir.ui.view"> + <field name="name">x.banner.category.form</field> + <field name="model">x_banner.category</field> + <field name="arch" type="xml"> + <form> + <sheet> + <group> + <group> + <field name="x_name"/> + <field name="x_banner_subtitle"/> + <field name="x_studio_field_KKVl4"/> + </group> + <group></group> + </group> + </sheet> + </form> + </field> + </record> + + <record id="banner_category_action" model="ir.actions.act_window"> + <field name="name">Banner Category</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">x_banner.category</field> + <field name="view_mode">tree,form</field> + <field name="help" type="html"> + <p class="o_view_nocontent_smiling_face"> + Add Banner Category! + </p> + </field> + </record> + + <menuitem + id="menu_banner_category" + name="Banner Category" + parent="sale.product_menu_catalog" + sequence="4" + action="banner_category_action" + /> +</odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/x_biaya_kirim.xml b/indoteknik_custom/views/x_biaya_kirim.xml new file mode 100644 index 00000000..13393573 --- /dev/null +++ b/indoteknik_custom/views/x_biaya_kirim.xml @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="x_biaya_kirim_tree" model="ir.ui.view"> + <field name="name">x.biaya.kirim.tree</field> + <field name="model">x_biaya_kirim</field> + <field name="arch" type="xml"> + <tree> + <field name="id"/> + <field name="x_name"/> + <field name="x_studio_field_Ww89j"/> + <field name="x_studio_field_KKYEj"/> + <field name="x_studio_field_8GRtX"/> + <field name="x_studio_field_XusU9"/> + </tree> + </field> + </record> + + <record id="x_biaya_kirim_form" model="ir.ui.view"> + <field name="name">x.biaya.kirim.form</field> + <field name="model">x_biaya_kirim</field> + <field name="arch" type="xml"> + <form> + <sheet> + <div class="oe_title"> + <h1> + <field name="x_name" required="1"/> + </h1> + </div> + <group> + <group> + <field name="x_studio_field_Ww89j"/> + <field name="x_studio_field_KKYEj"/> + <field name="x_studio_field_8GRtX"/> + <field name="x_studio_field_XusU9"/> + <field name="x_studio_field_BSNiA"/> + <field name="x_studio_field_CxtaQ"/> + </group> + <group/> + </group> + </sheet> + </form> + </field> + </record> + + <record id="x_biaya_kirim_action" model="ir.actions.act_window"> + <field name="name">Biaya Kirim</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">x_biaya_kirim</field> + <field name="view_mode">tree,form</field> + <field name="help" type="html"> + <p class="o_view_nocontent_smiling_face"> + Add Biaya Kirim! + </p> + </field> + </record> + + <menuitem + id="x_biaya_kirim_menu" + name="Biaya Kirim" + parent="sale.menu_sales_config" + sequence="4" + action="x_biaya_kirim_action" + /> +</odoo>
\ No newline at end of file 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 diff --git a/indoteknik_custom/views/x_partner_purchase_order.xml b/indoteknik_custom/views/x_partner_purchase_order.xml new file mode 100644 index 00000000..4b858726 --- /dev/null +++ b/indoteknik_custom/views/x_partner_purchase_order.xml @@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="x_partner_purchase_order_tree" model="ir.ui.view"> + <field name="name">x.partner.purchase.order.tree</field> + <field name="model">x_partner.purchase.order</field> + <field name="arch" type="xml"> + <tree> + <field name="id"/> + <field name="x_studio_field_yDfr5"/> + <field name="x_name"/> + <field name="x_studio_field_56vPy"/> + <field name="create_date"/> + </tree> + </field> + </record> + + <record id="x_partner_purchase_order_form" model="ir.ui.view"> + <field name="name">x.partner.purchase.order.form</field> + <field name="model">x_partner.purchase.order</field> + <field name="arch" type="xml"> + <form> + <sheet> + <group> + <group> + <field name="x_studio_field_yDfr5"/> + <field name="x_name"/> + <field name="x_studio_field_eFt2C"/> + <field name="x_studio_field_56vPy"/> + <field name="x_studio_field_EcZlH"/> + </group> + </group> + </sheet> + </form> + </field> + </record> + + <record id="x_partner_purchase_order_action" model="ir.actions.act_window"> + <field name="name">Customer PO</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">x_partner.purchase.order</field> + <field name="view_mode">tree,form</field> + <field name="help" type="html"> + <p class="o_view_nocontent_smiling_face"> + Add Customer PO! + </p> + </field> + </record> + + <menuitem + id="menu_x_partner_purchase_order" + name="Customer PO" + parent="sale.product_menu_catalog" + sequence="5" + action="x_partner_purchase_order_action" + /> +</odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/x_product_tags.xml b/indoteknik_custom/views/x_product_tags.xml new file mode 100644 index 00000000..54378aee --- /dev/null +++ b/indoteknik_custom/views/x_product_tags.xml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="product_tags_tree" model="ir.ui.view"> + <field name="name">x.product.tags.tree</field> + <field name="model">x_product_tags</field> + <field name="arch" type="xml"> + <tree> + <field name="id"/> + <field name="x_name"/> + </tree> + </field> + </record> + + <record id="product_tags_form" model="ir.ui.view"> + <field name="name">x.product.tags.form</field> + <field name="model">x_product_tags</field> + <field name="arch" type="xml"> + <form> + <sheet> + <group> + <group> + <field name="x_name"/> + </group> + <group></group> + </group> + </sheet> + </form> + </field> + </record> + + <record id="product_tags_action" model="ir.actions.act_window"> + <field name="name">Product Tags</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">x_product_tags</field> + <field name="view_mode">tree,form</field> + <field name="help" type="html"> + <p class="o_view_nocontent_smiling_face"> + Add Product Tags! + </p> + </field> + </record> + + <menuitem + id="menu_product_tags" + name="Product Tags" + parent="sale.product_menu_catalog" + sequence="2" + action="product_tags_action" + /> +</odoo>
\ No newline at end of file |
