[hub] add register as a seller page

This commit is contained in:
Prateeksha Singh
2018-07-25 10:58:56 +05:30
parent 0fbaa72504
commit bc8caefc19
5 changed files with 301 additions and 283 deletions

View File

@@ -31,6 +31,13 @@ def get_list(doctype, start=0, limit=20, fields=["*"], filters="{}", order_by=No
return listing
@frappe.whitelist()
def get_valid_items():
items = frappe.get_list('Item')
return items
@frappe.whitelist()
def get_item_favourites(start=0, limit=20, fields=["*"], order_by=None):
doctype = 'Hub Item'