From b265e24136b722ab44b52b667dcd19eba3878aa7 Mon Sep 17 00:00:00 2001 From: "Indoteknik ." Date: Sat, 19 Jul 2025 15:12:33 +0700 Subject: (andri) delete --- indoteknik_custom/models/down_payment.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/indoteknik_custom/models/down_payment.py b/indoteknik_custom/models/down_payment.py index df6c0eba..0f39c98a 100644 --- a/indoteknik_custom/models/down_payment.py +++ b/indoteknik_custom/models/down_payment.py @@ -238,11 +238,6 @@ class RealizationDownPaymentUseLine(models.Model): 'message': _('Hanya user AP yang bisa mencentang Done Attachment.') } } - # def write(self, vals): - # if 'done_attachment' in vals and vals['done_attachment']: - # if self.env.user.id != 23: # Manzila (Finance) ID 23 - # raise UserError('Hanya user AP yang dapat mencentang Checked.') - # return super().write(vals) class RealizationDownPayment(models.Model): _name = 'realization.down.payment' -- cgit v1.2.3