summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/barcoding_product.xml
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-05-16 11:29:04 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-05-16 11:29:04 +0700
commit05305c6bf12da58cfadac7f1a901ef825d09cb61 (patch)
tree7f6f28397b4ad871131f7f28ea698117bcf1fe0f /indoteknik_custom/views/barcoding_product.xml
parentc61cb9fcd3d01b4ffafaa6446f9fd68b09a88ff7 (diff)
parent4360e1fd9f3af2c18b19463773047d9939716069 (diff)
(andri) resolved confict di SO view
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>