create return jv
diff --git a/stock/doctype/stock_entry/stock_entry.py b/stock/doctype/stock_entry/stock_entry.py
index 80756b4..d5764fa 100644
--- a/stock/doctype/stock_entry/stock_entry.py
+++ b/stock/doctype/stock_entry/stock_entry.py
@@ -769,6 +769,19 @@
})
se = webnotes.bean("Stock Entry", stock_entry)
+ ref = get_return_reference_details(se.doc.fields)
+
+ for se_item in se.doclist.get({"parentfield": "mtn_details"}):
+ # find item in ref.doclist
+ ref_item = ref.doclist.getone({"item_code": se_item.item_code})
+
+ # add row for customer/supplier account
+
+ # find income account and value and add corresponding rows
+
+ # find tax account and value and add corresponding rows
+
+ pass
if not webnotes.response.get("docs"):
webnotes.response["docs"] = []