summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-01-11 15:56:13 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-01-11 15:56:13 +0700
commit20b7432d8566d25371e3a3277ed3931aa59cdf0c (patch)
tree7d97a42d3c2ee8b5f83515b5216e6f6ba0268af4
parente56e9e0346c23d14628a3fbc8b53c55ccc13d25e (diff)
cr attrs product uom qty
-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 be281983..e38dd0c7 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="readonly">1</attribute>
+ <attribute name="attrs">{'readonly': [('picking_type_code', '=', 'incoming')]}</attribute>
</field>
<field name="date_done" position="after">
<field name="arrival_time"/>