mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 23:49:19 +00:00
[minor] [fix] quotation cancelled status issue, fixes #5221
This commit is contained in:
@@ -268,3 +268,4 @@ erpnext.patches.v7_0.update_home_page
|
|||||||
erpnext.patches.v7_0.create_budget_record
|
erpnext.patches.v7_0.create_budget_record
|
||||||
execute:frappe.delete_doc_if_exists("Page", "financial-analytics")
|
execute:frappe.delete_doc_if_exists("Page", "financial-analytics")
|
||||||
erpnext.patches.v7_0.update_project_in_gl_entry
|
erpnext.patches.v7_0.update_project_in_gl_entry
|
||||||
|
execute:frappe.db.sql('update tabQuotation set status="Cancelled" where docstatus=2')
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ class Quotation(SellingController):
|
|||||||
|
|
||||||
def on_cancel(self):
|
def on_cancel(self):
|
||||||
#update enquiry status
|
#update enquiry status
|
||||||
self.set_status()
|
self.set_status(update=True)
|
||||||
self.update_opportunity()
|
self.update_opportunity()
|
||||||
|
|
||||||
def print_other_charges(self,docname):
|
def print_other_charges(self,docname):
|
||||||
|
|||||||
Reference in New Issue
Block a user