diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2025-12-18 11:21:34 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2025-12-18 11:21:34 +0700 |
| commit | 9e2cfb1999a9b9051aabde64120577cb6058d5f9 (patch) | |
| tree | d35105bdf15b3f9f257a5590a0c161245eca6bc5 | |
| parent | 1baaa11159d295684b54104160dbaa96215f9742 (diff) | |
| parent | cd78a30609e0fa956458dabc02c4f199459cee9a (diff) | |
fix conflict
| -rw-r--r-- | indoteknik_custom/models/commission_internal.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/models/commission_internal.py b/indoteknik_custom/models/commission_internal.py index ce9c564d..840700c6 100644 --- a/indoteknik_custom/models/commission_internal.py +++ b/indoteknik_custom/models/commission_internal.py @@ -181,6 +181,8 @@ class CommissionInternal(models.Model): if self.commission_internal_result: raise UserError('Hapus semua isi table result jika ingin di create result ulang') + self.message_post(body=("Commission Internal Result generated by %s at %s.") % (self.env.user.name, fields.Datetime.now())) + exception = ['ONGKOS KIRIM SO/20'] query = [ ('commission_internal_id.id', '=', self.id), @@ -275,7 +277,6 @@ class CommissionInternal(models.Model): 'helper1': data['helper1'], 'helper2': data['helper2'] }]) - self.message_post(body=("Commission Internal Result generated by %s at %s.") % (self.env.user.name, fields.Datetime.now())) # this button / method works for train data in July 2025 def calculate_commission_internal_from_keyword(self): |
