diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-08-04 08:39:32 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-08-04 08:39:32 +0700 |
| commit | c4e1c36e28e4e9585f58e28326d1b0889eb1fa1f (patch) | |
| tree | e4c1c0671437c6ea109ef15d2e15b225db0f619c /indoteknik_custom/views | |
| parent | b52e037b7331a783056d9776f17253d83b1a52ad (diff) | |
| parent | c8ef030b4c1cb6b8daa14c081f569c71fbbda639 (diff) | |
<hafid> merging odoo-backup
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/refund_sale_order.xml | 6 | ||||
| -rw-r--r-- | indoteknik_custom/views/res_partner.xml | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/indoteknik_custom/views/refund_sale_order.xml b/indoteknik_custom/views/refund_sale_order.xml index 0c4eaa56..e35e76b3 100644 --- a/indoteknik_custom/views/refund_sale_order.xml +++ b/indoteknik_custom/views/refund_sale_order.xml @@ -59,14 +59,14 @@ attrs="{'invisible': ['|', ('status_payment', '!=', 'pending'), ('status', '=', 'reject')]}" /> <button name="action_confirm_refund" type="object" - string="Confirm Refund" + string="Confirm Payment" class="btn-primary" attrs="{'invisible': ['|', ('status', 'not in', ['pengajuan3','refund']), ('status_payment', '!=', 'pending')]}"/> <button name="action_create_journal_refund" - string="Journal Refund" + string="AP Only" type="object" class="oe_highlight" - attrs="{'invisible': [('journal_refund_state', '=', 'posted')]}"/> + attrs="{'invisible': ['|', ('journal_refund_state', '=', 'posted'), ('status', 'not in', ['pengajuan3','refund'])]}"/> <field name="status" widget="statusbar" diff --git a/indoteknik_custom/views/res_partner.xml b/indoteknik_custom/views/res_partner.xml index a030a75c..38cd2756 100644 --- a/indoteknik_custom/views/res_partner.xml +++ b/indoteknik_custom/views/res_partner.xml @@ -217,7 +217,7 @@ <group string="Aging Info"> <field name="avg_aging" readonly="1"/> <field name="payment_difficulty" attrs="{'readonly': [('parent_id', '!=', False)]}" /> - <field name="payment_history_url" readonly="1" /> + <field name="payment_history_url" readonly="1" widget="url"/> </group> </page> </notebook> |
