summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-12-29 15:36:37 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-12-29 15:36:37 +0700
commit80cbff436261c85af8b826317037fc5ee07b2d86 (patch)
tree8ba5138576b0ef1d5a7b7b1ced628723e954b692
parent0e8be12adad9943dd4a86a31fc0bdf64a74f5db0 (diff)
add custom column for support trusco product
-rwxr-xr-xindoteknik_custom/views/product_template.xml23
1 files changed, 20 insertions, 3 deletions
diff --git a/indoteknik_custom/views/product_template.xml b/indoteknik_custom/views/product_template.xml
index b9b6ba0b..5fcb8b05 100755
--- a/indoteknik_custom/views/product_template.xml
+++ b/indoteknik_custom/views/product_template.xml
@@ -46,13 +46,30 @@
<field name="inherit_id" ref="website_sale.product_template_form_view"/>
<field name="arch" type="xml">
<field name="website_ribbon_id" position="after">
- <field name="last_calculate_rating" attrs="{'readonly': [('type', '=', 'product')]}"/>
- <field name="product_rating"/>
+ <field name="maker_code"/>
+ <field name="maker_name"/>
+ <field name="origin"/>
+ <field name="features"/>
+ <field name="usage"/>
+ <field name="specification"/>
+ <field name="material"/>
<field name="search_rank"/>
- <field name="web_price_sorting" attrs="{'readonly': [('type', '=', 'product')]}"/>
<field name="solr_flag"/>
</field>
</field>
</record>
+ <record id="product_variant_indoteknik" model="ir.ui.view">
+ <field name="name">Product Product</field>
+ <field name="model">product.product</field>
+ <field name="inherit_id" ref="product.product_variant_easy_edit_view"/>
+ <field name="arch" type="xml">
+ <field name="accurate_item_code" position="after">
+ <field name="features"/>
+ <field name="usage"/>
+ <field name="specification"/>
+ <field name="material"/>
+ </field>
+ </field>
+ </record>
</data>
</odoo> \ No newline at end of file