diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-02-25 13:31:31 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-02-25 13:31:31 +0700 |
| commit | 141bfb3a32e73d5b8557a70867d957d5ed3d485b (patch) | |
| tree | 297004178e4eeff56ff7baab1bf4a1f5afe3cd6a /indoteknik_custom/views/customer_commision.xml | |
| parent | b7580b1590fc3259aa028c0c909b0ee564e801d5 (diff) | |
<iman> update code
Diffstat (limited to 'indoteknik_custom/views/customer_commision.xml')
| -rw-r--r-- | indoteknik_custom/views/customer_commision.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indoteknik_custom/views/customer_commision.xml b/indoteknik_custom/views/customer_commision.xml index 09031274..51172b1c 100644 --- a/indoteknik_custom/views/customer_commision.xml +++ b/indoteknik_custom/views/customer_commision.xml @@ -13,9 +13,9 @@ <field name="commision_amt" readonly="1"/> <field name="status" readonly="1"/> <field name="payment_status" readonly="1" - decoration-success="payment_status == 'payment'" - decoration-danger="payment_status == 'pending'" - widget="badge"/> + decoration-success="payment_status == 'payment'" + decoration-danger="payment_status == 'pending'" + widget="badge"/> <field name="brand_ids" widget="many2many_tags"/> </tree> </field> @@ -50,7 +50,7 @@ <button name="action_confirm_customer_payment" string="Konfirmasi Pembayaran" type="object" options="{}" - attrs="{'invisible': [('status', '!=', 'approved')], 'readonly': [('payment_status', '=', 'payment')]}"/> + attrs="{'invisible': [('payment_status', '==', 'payment')], 'readonly': [('payment_status', '=', 'payment')]}"/> </header> <sheet string="Customer Commision"> <div class="oe_button_box" name="button_box"/> |
