summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-09-03 15:20:06 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-09-03 15:20:06 +0700
commit8edde46e16d4d977e84a3681c03d1bfab8591a71 (patch)
treee320dac54a3d4fc9bead223045948ab011c66a0b /indoteknik_custom/views
parent9ee856d603530e8cc3494a2bccb8fdfaa328da6a (diff)
cr unreserved
Diffstat (limited to 'indoteknik_custom/views')
-rwxr-xr-xindoteknik_custom/views/sale_order.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml
index 569c59f3..54c01594 100755
--- a/indoteknik_custom/views/sale_order.xml
+++ b/indoteknik_custom/views/sale_order.xml
@@ -14,6 +14,7 @@
<button name="do_unreserve"
string="Unreserve Picking"
type="object"
+ attrs="{'invisible': [('state', 'not in', ['draft', 'cancel', 'done'])]}"
/>
<button name="sale_order_approve"
string="Ask Approval"