2019-06-26 05:35:51 +00:00
|
|
|
from __future__ import unicode_literals
|
2021-09-02 11:14:59 +00:00
|
|
|
|
2019-06-26 05:35:51 +00:00
|
|
|
import frappe
|
|
|
|
|
2021-09-02 11:14:59 +00:00
|
|
|
|
2019-06-26 05:35:51 +00:00
|
|
|
def execute():
|
|
|
|
|
|
|
|
frappe.db.sql(""" UPDATE `tabQuotation` set status = 'Open'
|
2021-08-19 08:11:10 +00:00
|
|
|
where docstatus = 1 and status = 'Submitted' """)
|