mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-13 15:27:12 +00:00
fix(Item Group): Don't clean description html
This commit is contained in:
@@ -12,7 +12,6 @@ from frappe.website.render import clear_cache
|
||||
from frappe.website.doctype.website_slideshow.website_slideshow import get_slideshow
|
||||
from erpnext.shopping_cart.product_info import set_product_info_for_website
|
||||
from erpnext.utilities.product import get_qty_in_stock
|
||||
from frappe.utils.html_utils import clean_html
|
||||
|
||||
class ItemGroup(NestedSet, WebsiteGenerator):
|
||||
nsm_parent_field = 'parent_item_group'
|
||||
@@ -27,7 +26,6 @@ class ItemGroup(NestedSet, WebsiteGenerator):
|
||||
|
||||
def validate(self):
|
||||
super(ItemGroup, self).validate()
|
||||
self.description = clean_html(self.description)
|
||||
self.make_route()
|
||||
|
||||
def on_update(self):
|
||||
|
||||
Reference in New Issue
Block a user