Files
schuetz3-erpnext/erpnext/patches/v12_0/set_quotation_status.py
2021-11-25 17:42:24 +05:30

9 lines
146 B
Python

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