summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/purchase_order.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-06-21 10:25:26 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-06-21 10:25:26 +0700
commitc1a0d0e48ef64241c92947a8800f93af4ff109d0 (patch)
treef2b0e94f7447b4082ba66592373907da38797efc /indoteknik_custom/views/purchase_order.xml
parent45fcd7ed448a8fc4c731433823375aea013abbd5 (diff)
fix approval receipt and hide uneccesary column
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')]}"/>