summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/product_attribute_value.xml55
-rwxr-xr-xindoteknik_custom/views/x_banner_banner.xml4
2 files changed, 57 insertions, 2 deletions
diff --git a/indoteknik_custom/views/product_attribute_value.xml b/indoteknik_custom/views/product_attribute_value.xml
new file mode 100644
index 00000000..7c33ba7b
--- /dev/null
+++ b/indoteknik_custom/views/product_attribute_value.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<odoo>
+ <record id="product_attribute_value_tree_custom" model="ir.ui.view">
+ <field name="name">product.attribute.value.tree</field>
+ <field name="model">product.attribute.value</field>
+ <field name="arch" type="xml">
+ <tree default_order="create_date desc">
+ <field name="name"/>
+ <field name="attribute_id"/>
+ <field name="is_custom"/>
+ </tree>
+ </field>
+ </record>
+
+
+ <record id="product_attribute_value_form_custom" model="ir.ui.view">
+ <field name="name">product.attribute.value.form</field>
+ <field name="model">product.attribute.value</field>
+ <field name="arch" type="xml">
+ <form>
+ <sheet>
+ <group>
+ <group>
+ <field name="attribute_id"/>
+ <field name="display_type"/>
+ </group>
+ <group>
+ <field name="html_color"/>
+ <field name="is_custom"/>
+ <field name="is_used_on_products"/>
+ <field name="name"/>
+ </group>
+ </group>
+ <group>
+ <field name="sequence"/>
+ </group>
+ </sheet>
+ </form>
+ </field>
+ </record>
+
+ <record id="product_attribute_value_action_custom" model="ir.actions.act_window">
+ <field name="name">Product Attribute</field>
+ <field name="type">ir.actions.act_window</field>
+ <field name="res_model">product.attribute.value</field>
+ <field name="view_mode">tree,form</field>
+ </record>
+
+ <menuitem
+ id="menu_product_attribute_value"
+ name="Attribute Values"
+ action="product_attribute_value_action_custom"
+ parent="sale.prod_config_main" sequence="6" groups="uom.group_uom"
+ />
+</odoo>
diff --git a/indoteknik_custom/views/x_banner_banner.xml b/indoteknik_custom/views/x_banner_banner.xml
index 10c762af..5e6526e0 100755
--- a/indoteknik_custom/views/x_banner_banner.xml
+++ b/indoteknik_custom/views/x_banner_banner.xml
@@ -7,7 +7,7 @@
<tree>
<field name="sequence" string="Seq" />
<field name="x_name" />
- <field name="for_week" />
+ <field name="group_by_week" />
<field name="x_banner_category" />
<field name="x_relasi_manufacture" />
<field name="x_url_banner" />
@@ -30,7 +30,7 @@
<field name="x_url_banner" />
<field name="x_status_banner" />
<field name="sequence" />
- <field name="for_week" />
+ <field name="group_by_week" />
</group>
<group>
<field name="background_color" />