summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/purchase_order.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-06-27 14:22:09 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-06-27 14:22:09 +0700
commit57c571c40de1acfdcf23132782ec8c7fcbb8c6bd (patch)
tree58eccafc69927796ea93c13f70dc0bbf3f47eca3 /indoteknik_custom/views/purchase_order.xml
parentfeb55333e94aaec783bce85d36667912b3e90f86 (diff)
parent45dc1483342d9ec195c53711b5194e7ddf88b343 (diff)
Merge branch 'release' into real-stock
Diffstat (limited to 'indoteknik_custom/views/purchase_order.xml')
-rwxr-xr-xindoteknik_custom/views/purchase_order.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml
index 7a397ff6..5b0c99ef 100755
--- a/indoteknik_custom/views/purchase_order.xml
+++ b/indoteknik_custom/views/purchase_order.xml
@@ -24,6 +24,7 @@
<button name="po_approve"
string="Ask Approval"
type="object"
+ attrs="{'invisible': [('approval_status', '=', 'approved')]}"
/>
<button name="indoteknik_custom.action_view_uangmuka_pembelian" string="UangMuka"
type="action" attrs="{'invisible': [('approval_status', '!=', 'approved')]}"/>