diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-10-31 08:53:42 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2025-10-31 08:53:42 +0000 |
| commit | 9e8690f85b79649afb4dd38f28427a5da76000f6 (patch) | |
| tree | 04747005e62109c1b988c962258dbff387e28874 | |
| parent | d50ce5c3553b97971debedcbb6fe896d99d92081 (diff) | |
| parent | 58fdd12bb5ea91cbe65f23472879dd690d5efbbf (diff) | |
Merged in refund_system (pull request #454)
push
| -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> |
