summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/barcoding_product.xml
diff options
context:
space:
mode:
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 c7473d39..55876580 100644
--- a/indoteknik_custom/views/barcoding_product.xml
+++ b/indoteknik_custom/views/barcoding_product.xml
@@ -34,12 +34,13 @@
<group>
<field name="product_id" required="1"/>
<field name="type" required="1"/>
- <field name="quantity" attrs="{'invisible': [['type', 'in', ('barcoding')]], 'required': [['type', 'not in', ('barcoding')]]}"/>
+ <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')]]}"/>
</group>
</group>
<notebook>
- <page string="Line" attrs="{'invisible': [['type', 'in', ('barcoding')]]}">
+ <page string="Line" attrs="{'invisible': [['type', 'in', ('barcoding','barcoding_box')]]}">
<field name="barcoding_product_line"/>
</page>
</notebook>