feat: Added ability to edit multiple products
- refactor: Changed templates to use yml extension
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user