summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-01-11 16:15:08 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-01-11 16:15:08 +0700
commit88a54aebe579809dcaf8d8fd9640d5c4db83f2d6 (patch)
tree42a8c49400d48f141f23306755220a6989acf5ce
parent509133392d4362d207ed29b5ea4914fd2293b799 (diff)
fix bug
-rw-r--r--indoteknik_custom/views/stock_picking.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/views/stock_picking.xml b/indoteknik_custom/views/stock_picking.xml
index e38dd0c7..882e5a29 100644
--- a/indoteknik_custom/views/stock_picking.xml
+++ b/indoteknik_custom/views/stock_picking.xml
@@ -85,7 +85,7 @@
<field name="real_shipping_id"/>
</field>
<field name="product_uom_qty" position="attributes">
- <attribute name="attrs">{'readonly': [('picking_type_code', '=', 'incoming')]}</attribute>
+ <attribute name="attrs">{'readonly': [('parent.picking_type_code', '=', 'incoming')]}</attribute>
</field>
<field name="date_done" position="after">
<field name="arrival_time"/>