From 26b47c8647d3c66e6f659efc31be3deccfe026c9 Mon Sep 17 00:00:00 2001 From: "Indoteknik ." Date: Mon, 19 May 2025 08:37:31 +0700 Subject: (andri) fix log note double pada product variants --- indoteknik_custom/models/product_template.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/indoteknik_custom/models/product_template.py b/indoteknik_custom/models/product_template.py index 2679fbfd..5cb3da88 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"Updated:") # log changes to product variants - variant_message = f"Updated:" - for variant in record.product_variant_ids: - variant.message_post(body=variant_message) + # variant_message = f"Updated:" + # for variant in record.product_variant_ids: + # variant.message_post(body=variant_message) # simpan data lama dan log perubahan field def write(self, vals): -- cgit v1.2.3