summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/account_move.xml
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-08-30 09:25:35 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-08-30 09:25:35 +0700
commit5ef97855847141eaa705be36a2aae17cdf928258 (patch)
tree449d86549d69024e92032b2246f8481bf081302a /indoteknik_custom/views/account_move.xml
parent0298605049e29ef436a5e6984b743f89fed712b3 (diff)
parent63426e9de8700daff0c0f7cf0389d2be55e982fb (diff)
<hafid> fix conflict merge
Diffstat (limited to 'indoteknik_custom/views/account_move.xml')
-rw-r--r--indoteknik_custom/views/account_move.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml
index 667a6b3e..1b477c6d 100644
--- a/indoteknik_custom/views/account_move.xml
+++ b/indoteknik_custom/views/account_move.xml
@@ -68,6 +68,14 @@
<field name="nomor_kwitansi"/>
<field name="down_payment"/>
</field>
+ <field name="website_id" position="after">
+ <field name="customer_promise_date"/>
+ <button name="action_sync_promise_date"
+ string="Sync Janji Bayar ke Invoice Lain"
+ type="object"
+ class="btn-primary"
+ help="Sync Janji Bayar Customer ke Invoices dengan jumlah Due Date yang sama"/>
+ </field>
<field name="to_check" position="after">
<field name="already_paid"/>
<field name="so_shipping_paid_by"/>
@@ -195,5 +203,37 @@
<field name="state">code</field>
<field name="code">action = records.export_faktur_to_xml()</field>
</record>
+
+ <record id="view_sync_promise_date_wizard_form" model="ir.ui.view">
+ <field name="name">sync.promise.date.wizard.form</field>
+ <field name="model">sync.promise.date.wizard</field>
+ <field name="arch" type="xml">
+ <form string="Sync Janji Bayar">
+ <group>
+ <field name="invoice_id" readonly="1"/>
+ <field name="promise_date" readonly="1"/>
+ </group>
+ <field name="line_ids">
+ <tree create="false" delete="false" editable="bottom">
+ <field name="sync_check"/>
+ <field name="invoice_name" readonly="1"/>
+ <field name="invoice_date_due" readonly="1"/>
+ <field name="invoice_day_to_due" readonly="1"/>
+ <field name="new_invoice_day_to_due" readonly="1"/>
+ <field name="date_terima_tukar_faktur" readonly="1"/>
+ <field name="amount_total" readonly="1"/>
+ </tree>
+ </field>
+
+ <button name="action_check_all" string="Check All" type="object" class="btn-secondary"/>
+ <button name="action_uncheck_all" string="Uncheck All" type="object" class="btn-secondary"/>
+
+ <footer>
+ <button name="action_confirm" string="Konfirmasi Sync" type="object" class="btn-primary"/>
+ <button string="Batal" class="btn-secondary" special="cancel"/>
+ </footer>
+ </form>
+ </field>
+ </record>
</data>
</odoo> \ No newline at end of file