Files
schuetz3-erpnext/erpnext/patches/v12_0/set_quotation_status.py
2024-03-27 16:06:04 +05:30

9 lines
149 B
Python

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