summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/product_template.py
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2025-05-23 09:57:19 +0700
committerstephanchrst <stephanchrst@gmail.com>2025-05-23 09:57:19 +0700
commit1ce12e1b817079a1fd74c892a880bd8efff72e41 (patch)
tree3ebf33463948b5bd7be15b18450f36227ad7cac9 /indoteknik_custom/models/product_template.py
parentcc6e4b9e48752ee54b42db2c16fae7cd5d5af1c4 (diff)
parentd27999cacee59a115ae3c6c46542c2e20cfe176b (diff)
Merge branch 'odoo-backup' into cr/purchasing_job_manufacturing_order
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 6903b53e..34b8fd2c 100755
--- a/indoteknik_custom/models/product_template.py
+++ b/indoteknik_custom/models/product_template.py
@@ -870,9 +870,9 @@ class ProductTemplate(models.Model):
record.message_post(body=f"<b>Updated:</b><ul>{''.join(changes)}</ul>")
# log changes to product variants
- # variant_message = f"<b>Updated:</b><ul>{''.join(changes)}</ul>"
- # for variant in record.product_variant_ids:
- # variant.message_post(body=variant_message)
+ variant_message = f"<b>Updated:</b><ul>{''.join(changes)}</ul>"
+ for variant in record.product_variant_ids:
+ variant.message_post(body=variant_message)
# simpan data lama dan log perubahan field
def write(self, vals):