brotherton-erpnext/erpnext/patches/v12_0/set_quotation_status.py

7 lines
183 B
Python
Raw Normal View History

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