codici fix
This commit is contained in:
		
							parent
							
								
									b6fb8d2143
								
							
						
					
					
						commit
						1be684fd87
					
				| @ -9,7 +9,6 @@ import frappe | ||||
| def execute(): | ||||
|     items_barcode = frappe.db.sql("SELECT name, barcode FROM tabItem WHERE barcode IS NOT NULL", as_dict=1) | ||||
|     frappe.reload_doc("stock", "doctype", "item") | ||||
|      | ||||
|     for item in items_barcode: | ||||
|         doc = frappe.get_doc("Item", item.get("name")) | ||||
|         if item.get("barcode"): | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user