summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/customer_commision.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/indoteknik_custom/views/customer_commision.xml b/indoteknik_custom/views/customer_commision.xml
index 55736b0d..09031274 100644
--- a/indoteknik_custom/views/customer_commision.xml
+++ b/indoteknik_custom/views/customer_commision.xml
@@ -48,9 +48,9 @@
string="Confirm" type="object"
options="{}"/>
<button name="action_confirm_customer_payment"
- string="Konfirmasi Pembayaran" type="object"
- options="{}"
- attrs="{'invisible': [('status', '!=', 'approved'),]}"/>
+ string="Konfirmasi Pembayaran" type="object"
+ options="{}"
+ attrs="{'invisible': [('status', '!=', 'approved')], 'readonly': [('payment_status', '=', 'payment')]}"/>
</header>
<sheet string="Customer Commision">
<div class="oe_button_box" name="button_box"/>