Skip to content

Commit

Permalink
fix: whitelist doc method
Browse files Browse the repository at this point in the history
This should've been whitelisted, looks like it was missed out

closes #34898

(cherry picked from commit e4f152a)
  • Loading branch information
ankush committed Apr 18, 2023
1 parent f1a1fc6 commit 09b92fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erpnext/e_commerce/doctype/website_item/website_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ def set_shopping_cart_data(self, context):
self.item_code, skip_quotation_creation=True
)

@frappe.whitelist()
def copy_specification_from_item_group(self):
self.set("website_specifications", [])
if self.item_group:
Expand Down

0 comments on commit 09b92fd

Please sign in to comment.