feat: Added ability to edit multiple products

- refactor: Changed templates to use yml extension
This commit is contained in:
Aerex
2019-06-25 00:52:17 -05:00
parent 1f7a061600
commit d479b4f621
12 changed files with 365 additions and 148 deletions

View File

@@ -43,7 +43,7 @@ class Stock(object):
product_ids = [entry['product_id'] for entry in get_current_stock]
table_entries = []
try:
for index in range(len(product_ids)):
for index in range(0, len(product_ids)):
product_id = product_ids[index]
path = Stock.GET_PRODUCT_BY_ID.format(product_id)
product = self.rest_service.get(path)