brotherton-erpnext/erpnext/patches/v12_0/set_quotation_status.py
Deepesh Garg ea0574679f fix: Removed submitted status from Quotation ()
* fix: Change in list view and status updater

* fix: Change status in doctype

* fix: Patch for submitted status
2019-06-26 11:05:51 +05:30

7 lines
183 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' """)