10 lines
		
	
	
		
			150 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			150 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import frappe
 | |
| 
 | |
| 
 | |
| def execute():
 | |
| 
 | |
| 	frappe.db.sql(
 | |
| 		""" UPDATE `tabQuotation` set status = 'Open'
 | |
| 		where docstatus = 1 and status = 'Submitted' """
 | |
| 	)
 |