brotherton-erpnext/erpnext/patches/v12_0/set_quotation_status.py
2022-03-28 18:52:46 +05:30

10 lines
150 B
Python

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