Skip to content

Commit

Permalink
feat: added valuation rate
Browse files Browse the repository at this point in the history
  • Loading branch information
Vikas8600 committed Apr 17, 2023
1 parent 7f3fe72 commit deb9fdb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion ecommerce_integrations/unicommerce/delivery_note.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ def create_delivery_note(order, settings, so):
res.shipment_id = order["code"]
res.save()
res.submit()
frappe.logger("log2").exception(res)
# delivery_note = DeliveryNote(res)
# frappe.logger("log3").exception(delivery_note)
# delivery_note.update({
Expand Down
1 change: 1 addition & 0 deletions ecommerce_integrations/unicommerce/product.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ def _build_unicommerce_item(item_code: ItemCode) -> JsonDict:
item_json["hsnCode"] = frappe.get_value("Item",item.name,"gst_hsn_code")
item_json["description"] = frappe.get_value("Item",item.name,"description")
item_json["gstTaxTypeCode"] = frappe.get_value("Item Tax",{"parent":item.name},"item_tax_template")
item_json["costPrice"] = item.valuation_rate
return item_json


Expand Down

0 comments on commit deb9fdb

Please sign in to comment.