diff options
| -rw-r--r-- | indoteknik_custom/models/approval_payment_term.py | 4 | ||||
| -rw-r--r-- | indoteknik_custom/views/approval_payment_term.xml | 4 |
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" |
