diff options
Diffstat (limited to 'indoteknik_custom/views/refund_sale_order.xml')
| -rw-r--r-- | indoteknik_custom/views/refund_sale_order.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/views/refund_sale_order.xml b/indoteknik_custom/views/refund_sale_order.xml index afa7c1cb..fbe17093 100644 --- a/indoteknik_custom/views/refund_sale_order.xml +++ b/indoteknik_custom/views/refund_sale_order.xml @@ -57,7 +57,7 @@ <button name="action_trigger_cancel" type="object" string="Cancel" - attrs="{'invisible': ['|', ('status_payment', '!=', 'pending'), ('status', 'in', ['reject', 'refund'])]}" /> + attrs="{'invisible': ['|', ('status_payment', '!=', 'pending'), ('status', '=', 'reject')]}" /> <button name="action_confirm_refund" type="object" string="Confirm Payment" @@ -257,7 +257,7 @@ </group> </page> - <page string="Cancel Reason" attrs="{'invisible': [('status', '=', 'refund')]}"> + <page string="Cancel Reason" attrs="{'invisible': [('status_payment', '=', 'done')]}"> <group> <field name="reason_reject"/> </group> |
