diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-05-21 16:42:00 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-05-21 16:42:00 +0700 |
| commit | 478f4bcada828d85a83c27518cdad68b61c719f1 (patch) | |
| tree | b316809a92b4105c4facba27fa73a5947b750dec | |
| parent | c8d4530d4ade041378691613acd642963bd84c31 (diff) | |
| parent | 0d13d7a0da727e7a37b66b6cbc31a1c8398f40ab (diff) | |
Merge remote-tracking branch 'origin/odoo-backup' into odoo-backup
| -rwxr-xr-x | indoteknik_custom/models/product_template.py | 6 |
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): |
