summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/product_template.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-09-10 10:27:28 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-09-10 10:27:28 +0700
commit533f32227dd63cfe98903cf93e1a704a5a7ce696 (patch)
treec5243c7ab01f4f912a3cba9163447be429b9fbc0 /indoteknik_custom/models/product_template.py
parentee22bb5c668c346c5f8ba2c4e148324dab0c6a3e (diff)
parent894d4806067463fceaa2c6e6a67882e8f0bed974 (diff)
Merge branch 'production' of bitbucket.org:altafixco/indoteknik-addons into production
Diffstat (limited to 'indoteknik_custom/models/product_template.py')
-rwxr-xr-xindoteknik_custom/models/product_template.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/indoteknik_custom/models/product_template.py b/indoteknik_custom/models/product_template.py
index e6778758..000ee3bf 100755
--- a/indoteknik_custom/models/product_template.py
+++ b/indoteknik_custom/models/product_template.py
@@ -338,9 +338,9 @@ class ProductTemplate(models.Model):
return values
def write(self, vals):
- for rec in self:
- if rec.id == 224484:
- raise UserError('Tidak dapat mengubah produk sementara')
+ # for rec in self:
+ # if rec.id == 224484:
+ # raise UserError('Tidak dapat mengubah produk sementara')
return super(ProductTemplate, self).write(vals)