diff options
Diffstat (limited to 'indoteknik_custom/views/product_template.xml')
| -rw-r--r-- | indoteknik_custom/views/product_template.xml | 40 |
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 |
