summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/barcoding_product.xml
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-05-14 10:21:06 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-05-14 10:21:06 +0700
commit509a771b8ba6122cc308323dbe90ff4a35e4fc72 (patch)
tree64dae25d06eb556d2004ee5a068fcb74f9dbe218 /indoteknik_custom/views/barcoding_product.xml
parent2469ee37cfe854f0419a8c3fbabed5bc32bcaa6e (diff)
add multiparts product to barcoding product
Diffstat (limited to 'indoteknik_custom/views/barcoding_product.xml')
-rw-r--r--indoteknik_custom/views/barcoding_product.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/indoteknik_custom/views/barcoding_product.xml b/indoteknik_custom/views/barcoding_product.xml
index 55876580..b259f1e8 100644
--- a/indoteknik_custom/views/barcoding_product.xml
+++ b/indoteknik_custom/views/barcoding_product.xml
@@ -20,6 +20,7 @@
<tree>
<field name="product_id"/>
<field name="qr_code_variant" widget="image"/>
+ <field name="sequence_with_total" attrs="{'invisible': [['parent.type', 'not in', ('multiparts')]]}"/>
</tree>
</field>
</record>
@@ -35,8 +36,8 @@
<field name="product_id" required="1"/>
<field name="type" required="1"/>
<field name="quantity" attrs="{'invisible': [['type', 'in', ('barcoding','barcoding_box')]], 'required': [['type', 'not in', ('barcoding')]]}"/>
- <field name="barcode" attrs="{'invisible': [['type', 'in', ('print')]], 'required': [['type', 'not in', ('print')]]}"/>
- <field name="qty_pcs_box" attrs="{'invisible': [['type', 'in', ('print','barcoding')]], 'required': [['type', 'not in', ('print', 'barcoding')]]}"/>
+ <field name="barcode" attrs="{'invisible': [['type', 'in', ('print','multiparts')]], 'required': [['type', 'not in', ('print','multiparts')]]}"/>
+ <field name="qty_pcs_box" attrs="{'invisible': [['type', 'in', ('print','barcoding','multiparts')]], 'required': [['type', 'not in', ('print','barcoding','multiparts')]]}"/>
</group>
</group>
<notebook>