summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2024-03-19 14:10:22 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2024-03-19 14:10:22 +0700
commit503e37ac0a2ed3e2f0ec4ef277f94da602ccd370 (patch)
tree35c2b91eacb3169797a4070bb0a12472098bd1c0 /indoteknik_custom/views
parent3df78ee977b1800030248f561ee4f3c690bae329 (diff)
Add field on purchase pricelist
Diffstat (limited to 'indoteknik_custom/views')
-rwxr-xr-xindoteknik_custom/views/purchase_pricelist.xml27
1 files changed, 17 insertions, 10 deletions
diff --git a/indoteknik_custom/views/purchase_pricelist.xml b/indoteknik_custom/views/purchase_pricelist.xml
index 5d8b84d6..05a6930b 100755
--- a/indoteknik_custom/views/purchase_pricelist.xml
+++ b/indoteknik_custom/views/purchase_pricelist.xml
@@ -6,7 +6,6 @@
<field name="arch" type="xml">
<tree>
<field name="product_id"/>
- <field name="product_categ_ids" string="Product Category"/>
<field name="vendor_id"/>
<field name="product_price"/>
<field name="taxes_product_id"/>
@@ -15,8 +14,11 @@
<field name="include_price"/>
<field name="human_last_update"/>
<field name="system_last_update"/>
- <field name="count_trx_po"/>
- <field name="count_trx_po_vendor"/>
+ <field name="count_trx_po" optional="hide" />
+ <field name="count_trx_po_vendor" optional="hide"/>
+ <field name="brand_id" optional="hide"/>
+ <field name="count_brand_vendor" optional="hide"/>
+ <field name="product_categ_ids" string="Product Category" optional="hide"/>
</tree>
</field>
</record>
@@ -30,18 +32,23 @@
<group>
<group>
<field name="product_id"/>
- <field name="product_categ_ids" string="Product Category" widget="many2many_tags"/>
<field name="vendor_id" context="{'res_partner_search_mode': 'supplier'}"/>
- <field name="product_price"/>
- <field name="taxes_product_id"/>
- <field name="system_price"/>
- <field name="taxes_system_id"/>
+ <field name="brand_id"/>
<field name="include_price"/>
- <field name="human_last_update"/>
- <field name="system_last_update"/>
+ <field name="product_categ_ids" string="Product Category" widget="many2many_tags"/>
<field name="count_trx_po"/>
<field name="count_trx_po_vendor"/>
</group>
+ <group string="System">
+ <field name="system_price"/>
+ <field name="taxes_system_id"/>
+ <field name="system_last_update"/>
+ </group>
+ <group string="Human">
+ <field name="product_price"/>
+ <field name="taxes_product_id"/>
+ <field name="human_last_update"/>
+ </group>
</group>
</sheet>
</form>