patch: update item tax rate in json format

This commit is contained in:
Nabin Hait
2013-03-29 10:48:41 +05:30
19 changed files with 57 additions and 51 deletions

View File

@@ -74,7 +74,7 @@ class DocType(DocTypeNestedSet):
for d in self.doc.sub_groups:
d.count = get_group_item_count(d.name)
self.doc.items = get_product_list_for_group(product_group = self.doc.name, limit=20)
self.doc.items = get_product_list_for_group(product_group = self.doc.name, limit=100)
self.parent_groups = get_parent_item_groups(self.doc.name)
self.doc.title = self.doc.name