brotherton-erpnext/erpnext/patches/v12_0/set_quotation_status.py
2021-11-05 11:16:29 +05:30

8 lines
145 B
Python

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