summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/account_move.xml3
-rw-r--r--indoteknik_custom/views/customer_commision.xml4
2 files changed, 5 insertions, 2 deletions
diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml
index b0a206bf..7995b83b 100644
--- a/indoteknik_custom/views/account_move.xml
+++ b/indoteknik_custom/views/account_move.xml
@@ -56,6 +56,9 @@
</field>
<field name="invoice_date_due" position="after">
<field name="invoice_day_to_due" attrs="{'invisible': [['payment_state', 'in', ('paid', 'in_payment', 'reversed')]]}"/>
+ <field name="mark_upload_efaktur" optional="hide" widget="badge"
+ decoration-danger="mark_upload_efaktur == 'belum_upload'"
+ decoration-success="mark_upload_efaktur == 'sudah_upload'" />
<field name="due_extension" optional="hide"/>
</field>
<field name="payment_state" position="after">
diff --git a/indoteknik_custom/views/customer_commision.xml b/indoteknik_custom/views/customer_commision.xml
index 993521ca..88fe1cf1 100644
--- a/indoteknik_custom/views/customer_commision.xml
+++ b/indoteknik_custom/views/customer_commision.xml
@@ -8,7 +8,7 @@
<field name="number"/>
<field name="date_from"/>
<field name="date_to"/>
- <field name="partner_id"/>
+ <field name="partner_ids"/>
<field name="description"/>
<field name="notification" readonly="1"/>
<field name="status" readonly="1"/>
@@ -48,7 +48,7 @@
<group>
<field name="number"/>
<field name="date_from"/>
- <field name="partner_id"/>
+ <field name="partner_ids" widget="many2many_tags"/>
<field name="description"/>
<field name="commision_percent"/>
<field name="commision_amt"/>