mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 23:22:52 +00:00
fix: Website item patch fixes
This commit is contained in:
@@ -138,7 +138,7 @@ class WebsiteItem(WebsiteGenerator):
|
||||
self.website_image = None
|
||||
|
||||
def make_thumbnail(self):
|
||||
if frappe.flags.in_import:
|
||||
if frappe.flags.in_import or frappe.flags.in_migrate:
|
||||
return
|
||||
|
||||
"""Make a thumbnail of `website_image`"""
|
||||
|
||||
Reference in New Issue
Block a user