diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-08-13 08:34:12 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-08-13 08:34:12 +0700 |
| commit | bbc1f241fb12e8a1115fdbc90ab5846bcfd47ee3 (patch) | |
| tree | 32dce6c4250f2cbf4796ec2d993fa444936587b4 /indoteknik_custom/models/tukar_guling.py | |
| parent | 41ae119049bea955ca6edb5b5f63acd28b0eff91 (diff) | |
<miqdad>Remove duplicate return
Diffstat (limited to 'indoteknik_custom/models/tukar_guling.py')
| -rw-r--r-- | indoteknik_custom/models/tukar_guling.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/indoteknik_custom/models/tukar_guling.py b/indoteknik_custom/models/tukar_guling.py index ff641f34..4b03d4b0 100644 --- a/indoteknik_custom/models/tukar_guling.py +++ b/indoteknik_custom/models/tukar_guling.py @@ -380,10 +380,6 @@ class TukarGuling(models.Model): res.message_post(body=_("CCM Created By %s") % self.env.user.name) return res - res = super(TukarGuling, self).create(vals) - res.message_post(body=_("CCM Created By %s") % self.env.user.name) - return res - def copy(self, default=None): if default is None: default = {} |
