stock uom replace bugfix

This commit is contained in:
Rushabh Mehta
2013-01-11 10:50:54 +05:30
parent 9dbb761f19
commit 4f5b89934b
4 changed files with 5 additions and 143 deletions

View File

@@ -15,7 +15,7 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
cur_frm.fields_dict['item_code'].get_query = function(doc) {
return erpnext.queries.item();
return erpnext.queries.item_std();
}
//==================== Get Items Stock UOM =====================================================

View File

@@ -73,7 +73,7 @@ class DocType:
sql("update `tabBin` set stock_uom = '%s' where item_code = '%s'" % (self.doc.new_stock_uom, self.doc.item_code) )
# acknowledge user
msgprint(" All Bin's Updated Successfully.")
msgprint(" All Bins Updated Successfully.")
def update_stock_ledger_entry(self):
# update stock ledger entry