fix tests
This commit is contained in:
parent
eefc492ff4
commit
a077795581
@ -187,7 +187,7 @@ def _make_sales_order(source_name, target_doc=None, ignore_permissions=False):
|
|||||||
|
|
||||||
def set_expired_status():
|
def set_expired_status():
|
||||||
frappe.db.sql("""UPDATE `tabQuotation` SET status = 'Expired'
|
frappe.db.sql("""UPDATE `tabQuotation` SET status = 'Expired'
|
||||||
WHERE status != 'Expired' AND 'valid_till' < %s""", (nowdate()))
|
WHERE 'valid_till' < %s""", (nowdate()))
|
||||||
frappe.db.commit()
|
frappe.db.commit()
|
||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
|
Loading…
Reference in New Issue
Block a user