brotherton-erpnext/erpnext/patches/v12_0/set_quotation_status.py
2021-08-19 13:43:28 +05:30

8 lines
184 B
Python

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