summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-07-16 17:16:26 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-07-16 17:16:26 +0700
commit8c4bf3e27b2491955a3f94fa3f3478da6d23fea2 (patch)
tree996f2353884e17ab9ea82d1873af910446f2ea55 /indoteknik_custom/views
parentbe39266e634e750c553fe004a067dd1b8024dfc4 (diff)
<iman> update tampilan untuk category management
Diffstat (limited to 'indoteknik_custom/views')
-rwxr-xr-xindoteknik_custom/views/product_public_category.xml1
-rw-r--r--indoteknik_custom/views/website_categories_homepage.xml26
2 files changed, 14 insertions, 13 deletions
diff --git a/indoteknik_custom/views/product_public_category.xml b/indoteknik_custom/views/product_public_category.xml
index e0161acf..a45e0a2e 100755
--- a/indoteknik_custom/views/product_public_category.xml
+++ b/indoteknik_custom/views/product_public_category.xml
@@ -19,6 +19,7 @@
<field name="website_meta_description"/>
<!-- <field name="image_1024" string="Image Small" widget="image"/>-->
<field name="x_studio_field_4qhoN"/>
+ <field name="image" widget="image"/>
<field name="sequence_frontend"/>
<field name="parent_frontend_id"/>
</xpath>
diff --git a/indoteknik_custom/views/website_categories_homepage.xml b/indoteknik_custom/views/website_categories_homepage.xml
index aa54ca7a..f9c896bf 100644
--- a/indoteknik_custom/views/website_categories_homepage.xml
+++ b/indoteknik_custom/views/website_categories_homepage.xml
@@ -16,7 +16,6 @@
<field name="category_id"/>
<field name="url"/>
<field name="status"/>
- <field name="last_update_solr"/>
</tree>
</field>
</record>
@@ -31,17 +30,18 @@
<group>
<field name="sequence"/>
<field name="category_id"/>
- <field name="image" widget="image"/>
+ <field name="category_id2" widget="many2many_tags"/>
+ <field name="image" widget="image" />
<field name="url"/>
<field name="status"/>
- <field name="last_update_solr" readonly="1" />
</group>
</group>
<notebook>
- <page string="Products" name="product_ids">
- <field name="product_ids" domain="[('sale_ok', '=', True)]">
- <tree>
- <field name="display_name" />
+ <page string="Detail category">
+ <field name="category_id2">
+ <tree editable="bottom">
+ <field name="name"/>
+ <field name="child_frontend_id2" widget="many2many_tags"/>
</tree>
</field>
</page>
@@ -60,11 +60,11 @@
</record>
<menuitem
- id="website_categories_homepage"
- name="Website Categories Homepage"
- parent="website_sale.menu_orders"
- sequence="1"
- action="website_categories_homepage_action"
+ id="website_categories_homepage"
+ name="Website Categories Homepage"
+ parent="website_sale.menu_orders"
+ sequence="1"
+ action="website_categories_homepage_action"
/>
</data>
-</odoo> \ No newline at end of file
+</odoo>