summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/refund_sale_order.xml6
-rw-r--r--indoteknik_custom/views/res_partner.xml2
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>