summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/product_template.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 17:21:18 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 17:21:18 +0700
commit803e4f8b3cf9c1d6a43a354023edc1e065f4121e (patch)
treeb462ac26fd679c449f848dc8a2de7fc1b8fe3c5c /indoteknik_custom/views/product_template.xml
parent37c91dd605b4ff1acc9941eed549164eb7de2089 (diff)
initial commit 2
Diffstat (limited to 'indoteknik_custom/views/product_template.xml')
-rw-r--r--indoteknik_custom/views/product_template.xml40
1 files changed, 40 insertions, 0 deletions
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