fix: Trim trailing whitespaces

This commit is contained in:
GangaManoj
2021-09-02 20:27:15 +05:30
parent 17bf32d8dc
commit debffbfb2d
4 changed files with 6 additions and 6 deletions

View File

@@ -128,7 +128,7 @@ def update_product_bundle_price(doc, parent_items):
# for the last product bundle
if doc.get("packed_items"):
update_parent_item_price(doc, parent_items[parent_items_index][0], bundle_price)
def update_parent_item_price(doc, parent_item_code, bundle_price):
parent_item_doc = doc.get('items', {'item_code': parent_item_code})[0]