fix patch that causes error on bench update (#13222)

This commit is contained in:
theopen-institute 2018-03-08 12:50:40 +07:00 committed by Nabin Hait
parent 470977fa13
commit 1bfa243190

View File

@ -7,7 +7,7 @@ import frappe
def execute():
items_barcode = frappe.get_list('Item', ['name', 'barcode'], { 'barcode': ('!=', '') })
items_barcode = frappe.get_all('Item', ['name', 'barcode'], { 'barcode': ('!=', '') })
frappe.reload_doc("stock", "doctype", "item")
frappe.reload_doc("stock", "doctype", "item_barcode")