summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/account_move.xml
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-10-19 11:34:36 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-10-19 11:34:36 +0700
commit91d393eb699188b536c3c44d4460f6fed9596d3b (patch)
tree85b4693ddf1ba314a9564d7ffacf2098ac237909 /indoteknik_custom/views/account_move.xml
parent61afbe62fb03b94263d2e94b2b4b8ada7e60b6f7 (diff)
Update due date by payment schedule on bill view
Diffstat (limited to 'indoteknik_custom/views/account_move.xml')
-rw-r--r--indoteknik_custom/views/account_move.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml
index 2aeffc83..1721abb6 100644
--- a/indoteknik_custom/views/account_move.xml
+++ b/indoteknik_custom/views/account_move.xml
@@ -73,8 +73,12 @@
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_in_invoice_tree"/>
<field name="arch" type="xml">
- <field name="payment_state" position="after">
- <field name="payment_schedule" optional="hide"/>
+ <field name="invoice_date_due" position="after">
+ <field name="bill_day_to_due" string="Due Date" widget="remaining_days"/>
+ </field>
+
+ <field name="invoice_date_due" position="attributes">
+ <attribute name="invisible">1</attribute>
</field>
</field>
</record>