fix: whitelist doc method

This should've been whitelisted, looks like it was missed out

closes https://github.com/frappe/erpnext/issues/34898
This commit is contained in:
Ankush Menat 2023-04-18 08:24:22 +05:30
parent dd93ea067e
commit e4f152a416

View File

@ -315,6 +315,7 @@ class WebsiteItem(WebsiteGenerator):
self.item_code, skip_quotation_creation=True
)
@frappe.whitelist()
def copy_specification_from_item_group(self):
self.set("website_specifications", [])
if self.item_group: