summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/down_payment.xml
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/views/down_payment.xml')
-rw-r--r--indoteknik_custom/views/down_payment.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/views/down_payment.xml b/indoteknik_custom/views/down_payment.xml
index 8fd8fc76..020ed110 100644
--- a/indoteknik_custom/views/down_payment.xml
+++ b/indoteknik_custom/views/down_payment.xml
@@ -34,7 +34,7 @@
type="object"
string="AP Only"
class="btn-info"
- attrs="{'invisible': [('status', '=', 'reject')]}"/>
+ attrs="{'invisible': ['|', ('status', '=', 'reject'), ('is_cab_visible', '=', True)]}"/>
<field name="status" widget="statusbar"
statusbar_visible="draft,pengajuan1,pengajuan2,pengajuan3,approved"
statusbar_colors='{"reject":"red"}'