Skip to content

Commit

Permalink
fix: code changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vikas8600 committed May 2, 2023
1 parent a2be0f8 commit 0b4d68c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ecommerce_integrations/unicommerce/product.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def _build_unicommerce_item(item_code: ItemCode) -> JsonDict:
)
# append site prefix to image url
item_json["imageUrl"] = get_url(item.image)
item_json["maxRetailPrice"] = frappe.get_value("Item Price",{"item_code":item_code},"price_list_rate")
item_json["maxRetailPrice"] = item.standard_rate
item_json["description"] = frappe.utils.strip_html_tags(item.description)
item_json["costPrice"] = item.valuation_rate
return item_json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"ean": "73513537",
"upc": "065100004327",
"isbn": "",
"maxRetailPrice": null,
"maxRetailPrice": 312000.0,
"basePrice": 22000.0,
"batchGroupCode": null,
"costPrice": null,
"costPrice": 15000.0,
"taxTypeCode": "DEFAULT",
"gstTaxTypeCode": "DEFAULT_GST",
"hsnCode": "91011100",
Expand Down

0 comments on commit 0b4d68c

Please sign in to comment.