chore: resolve conflicts

This commit is contained in:
Mihir Kandoi
2026-01-27 14:38:19 +05:30
committed by GitHub
parent 0c89cd5524
commit 90d6bb34dc

View File

@@ -227,15 +227,8 @@ class Item(Document):
def validate_description(self):
"""Clean HTML description if set"""
<<<<<<< HEAD
if cint(frappe.db.get_single_value("Stock Settings", "clean_description_html")):
=======
if (
cint(frappe.get_single_value("Stock Settings", "clean_description_html"))
and self.description != self.item_name # perf: Avoid cleaning up a fallback
):
old_desc = self.description
>>>>>>> b49c679a50 (fix: show message if image is removed from item description)
self.description = clean_html(self.description)
if (