summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <it@fixcomart.co.id>2025-09-22 09:53:47 +0700
committerFIN-IT_AndriFP <it@fixcomart.co.id>2025-09-22 09:53:47 +0700
commit7965212570e382b1fe94a96cfe16f3d2babb1d27 (patch)
tree7b8382b1931400bb32660d00314e0b62882b6af2
parent84bfce78983a3bac22e647740aeeda2e88426310 (diff)
(andri) init button
-rw-r--r--indoteknik_custom/models/approval_payment_term.py4
-rw-r--r--indoteknik_custom/views/approval_payment_term.xml4
2 files changed, 8 insertions, 0 deletions
diff --git a/indoteknik_custom/models/approval_payment_term.py b/indoteknik_custom/models/approval_payment_term.py
index 449bd90b..fbdabe7f 100644
--- a/indoteknik_custom/models/approval_payment_term.py
+++ b/indoteknik_custom/models/approval_payment_term.py
@@ -56,6 +56,10 @@ class ApprovalPaymentTerm(models.Model):
change_log_688 = fields.Text(string="Change Log", readonly=True, copy=False)
+ def button_closing_mail(self):
+
+ return
+
def write(self, vals):
# Ambil nilai lama sebelum perubahan
old_values_dict = {
diff --git a/indoteknik_custom/views/approval_payment_term.xml b/indoteknik_custom/views/approval_payment_term.xml
index b0b99689..090c9b5c 100644
--- a/indoteknik_custom/views/approval_payment_term.xml
+++ b/indoteknik_custom/views/approval_payment_term.xml
@@ -32,6 +32,10 @@
<field name="arch" type="xml">
<form>
<header>
+ <!-- <button name="button_closing_mail"
+ string="Send Closing by Email"
+ type="object"
+ /> -->
<button name="button_approve"
string="Approve"
type="object"