summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-01-10 15:30:24 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-01-10 15:30:24 +0700
commite56e9e0346c23d14628a3fbc8b53c55ccc13d25e (patch)
treef687d8e3f066175046fa84c12da774d4bd2d61ac
parent509245ca0f8c208dfcbc50de63032fce7fb11e12 (diff)
cr attr product_uom_qty
-rw-r--r--indoteknik_custom/views/stock_picking.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/indoteknik_custom/views/stock_picking.xml b/indoteknik_custom/views/stock_picking.xml
index c8210efb..be281983 100644
--- a/indoteknik_custom/views/stock_picking.xml
+++ b/indoteknik_custom/views/stock_picking.xml
@@ -84,6 +84,9 @@
<field name="partner_id" position="after">
<field name="real_shipping_id"/>
</field>
+ <field name="product_uom_qty" position="attributes">
+ <attribute name="readonly">1</attribute>
+ </field>
<field name="date_done" position="after">
<field name="arrival_time"/>
</field>
@@ -198,8 +201,10 @@
<field name="name">check.product.tree</field>
<field name="model">check.product</field>
<field name="arch" type="xml">
- <tree editable="bottom">
+ <tree editable="bottom" decoration-warning="status == 'Pending'" decoration-success="status == 'Done'">
<field name="product_id"/>
+ <field name="quantity"/>
+ <field name="status"/>
</tree>
</field>
</record> -->