diff options
| -rw-r--r-- | indoteknik_custom/views/stock_picking.xml | 2 |
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"/> |
