[minor] rename notified_modifed > notified_update. Merge with #1296

This commit is contained in:
Rushabh Mehta 2015-09-10 10:30:41 +05:30
parent 5f90f7096d
commit bc23e5ac5c
4 changed files with 4 additions and 4 deletions

View File

@ -166,7 +166,7 @@ class PurchaseOrder(BuyingController):
self.update_ordered_qty()
msgprint(_("Status of {0} {1} is now {2}").format(self.doctype, self.name, status))
self.notify_modified()
self.notify_update()
clear_doctype_notifications(self)
def on_submit(self):

View File

@ -222,7 +222,7 @@ class StatusUpdater(Document):
where name='%(name)s'""" % args)
if args.get("set_modified"):
frappe.get_doc(args["target_parent_dt"], name).notify_modified()
frappe.get_doc(args["target_parent_dt"], name).notify_update()
def update_billing_status_for_zero_amount_refdoc(self, ref_dt):
ref_fieldname = ref_dt.lower().replace(" ", "_")

View File

@ -109,7 +109,7 @@ class ProductionOrder(Document):
qty = (flt(self.qty)-flt(self.produced_qty)) * ((status == 'Stopped') and -1 or 1)
self.update_planned_qty(qty)
frappe.msgprint(_("Production Order status is {0}").format(status))
self.notify_modified()
self.notify_update()
def update_status(self, status=None):

View File

@ -222,7 +222,7 @@ class SalesOrder(SellingController):
frappe.db.set(self, 'status', 'Stopped')
self.update_reserved_qty()
frappe.msgprint(_("{0} {1} status is Stopped").format(self.doctype, self.name))
self.notify_modified()
self.notify_update()
clear_doctype_notifications(self)
def unstop_sales_order(self):