mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 06:59:20 +00:00
stock uom replace bugfix
This commit is contained in:
@@ -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 =====================================================
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user