[fix][patch] Shopify (#14159)
This commit is contained in:
parent
19ce904030
commit
6d2dfac44e
@ -22,7 +22,7 @@ def execute():
|
||||
def setup_app_type():
|
||||
shopify_settings = frappe.get_doc("Shopify Settings")
|
||||
shopify_settings.app_type = 'Private'
|
||||
shopify_settings.update_price_in_erpnext_price_list = 0 if shopify_settings.push_prices_to_shopify else 1
|
||||
shopify_settings.update_price_in_erpnext_price_list = 0 if getattr(shopify_settings, 'push_prices_to_shopify', None) else 1
|
||||
shopify_settings.flags.ignore_mandatory = True
|
||||
shopify_settings.ignore_permissions = True
|
||||
shopify_settings.save()
|
||||
|
Loading…
Reference in New Issue
Block a user