[minor] limit pos search to 24 items at a time

This commit is contained in:
Rushabh Mehta 2015-12-08 12:16:22 +05:30
parent 51d07dfca2
commit 441b2c7657

View File

@ -52,4 +52,5 @@ def get_items(price_list, sales_or_purchase, item=None):
{condition}
order by
{order_by}
i.name""".format(condition=condition, order_by=order_by), args, as_dict=1)
i.name
limit 24""".format(condition=condition, order_by=order_by), args, as_dict=1)