Files
erp/erpnext/patches/v12_0/set_quotation_status.py

9 lines
149 B
Python

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