fix patch that causes error on bench update (#13222)
This commit is contained in:
parent
470977fa13
commit
1bfa243190
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user