summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-07-19 15:12:33 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-07-19 15:12:33 +0700
commitb265e24136b722ab44b52b667dcd19eba3878aa7 (patch)
tree96e1f6607c5c1ee3ed2fa9f5c3ba7e9b36492d93
parent698e075cf3874d4eaf5ac3f44f4a5b1b1832b93c (diff)
(andri) delete
-rw-r--r--indoteknik_custom/models/down_payment.py5
1 files changed, 0 insertions, 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'