mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-03 13:38:27 +00:00
Fix sql query in set_expired_status
This commit is contained in:
@@ -187,7 +187,7 @@ def _make_sales_order(source_name, target_doc=None, ignore_permissions=False):
|
||||
|
||||
def set_expired_status():
|
||||
frappe.db.sql("""UPDATE `tabQuotation` SET status = 'Expired'
|
||||
WHERE status != 'Expired' AND 'valid_till < %s""" , (nowdate()))
|
||||
WHERE status != 'Expired' AND 'valid_till' < %s""", (nowdate()) )
|
||||
|
||||
@frappe.whitelist()
|
||||
def make_sales_invoice(source_name, target_doc=None):
|
||||
|
||||
Reference in New Issue
Block a user