[minor] [fix] set stock uom in stock ledger entry through stock reconciliation

This commit is contained in:
Nabin Hait
2013-09-12 11:46:09 +05:30
parent 6e6ba9de14
commit 6656acff52
5 changed files with 16 additions and 3 deletions

View File

@@ -70,7 +70,6 @@ class DocType(DocListController):
matched=True
ref_uom = webnotes.conn.get_value("Stock Ledger Entry",
{"item_code": self.doc.name, "is_cancelled": "No"}, "stock_uom")
if ref_uom:
if cstr(ref_uom) != cstr(self.doc.stock_uom):
matched = False