Merge branch 'master' into develop

This commit is contained in:
Saurabh
2017-11-02 12:14:41 +05:30
8 changed files with 33 additions and 26 deletions

View File

@@ -37,7 +37,9 @@ def get_categories():
return response
@frappe.whitelist()
def get_item_details(hub_sync_id):
def get_item_details(hub_sync_id=None):
if not hub_sync_id:
return
connection = get_connection()
return connection.get_doc('Hub Item', hub_sync_id)