diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-08-03 15:54:08 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-08-03 15:54:08 +0700 |
| commit | 46529f2657d18b6c74bd95c013f528de0f687a56 (patch) | |
| tree | 8eeee429942268817fea42956f6dfbbeada44cd8 /indoteknik_custom/views/product_attribute_value.xml | |
| parent | 295dabd27518f3947994fb7cab39f6448db7aafa (diff) | |
attribute value
Diffstat (limited to 'indoteknik_custom/views/product_attribute_value.xml')
| -rw-r--r-- | indoteknik_custom/views/product_attribute_value.xml | 55 |
1 files changed, 55 insertions, 0 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> |
