summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/product_template.py
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-05-23 09:23:09 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-05-23 09:23:09 +0700
commit43313db30da73b87843425c01c723f66ee982886 (patch)
tree1f6dc6e9518c27ac3a867c42f25f56eed6f8cae0 /indoteknik_custom/models/product_template.py
parentf6f59e660af6c4229ada54f7313d68867df1ba15 (diff)
parent46e4c80e1b530274c01cca5603f3e1be873820f6 (diff)
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into odoo-backup
# Conflicts: # indoteknik_custom/models/sale_order.py
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 17805c6c..89392033 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):