mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 11:09:17 +00:00
chore: resolve conflicts
This commit is contained in:
@@ -227,15 +227,8 @@ class Item(Document):
|
|||||||
|
|
||||||
def validate_description(self):
|
def validate_description(self):
|
||||||
"""Clean HTML description if set"""
|
"""Clean HTML description if set"""
|
||||||
<<<<<<< HEAD
|
|
||||||
if cint(frappe.db.get_single_value("Stock Settings", "clean_description_html")):
|
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
|
old_desc = self.description
|
||||||
>>>>>>> b49c679a50 (fix: show message if image is removed from item description)
|
|
||||||
self.description = clean_html(self.description)
|
self.description = clean_html(self.description)
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
|||||||
Reference in New Issue
Block a user