Beispiel #1
0
	def on_update(self):
		# add to _comment property of the doctype, so it shows up in
		# comments count for the list view
		update_comment_in_doc(self)

		if self.comment_type != 'Updated':
			update_parent_mins_to_first_response(self)
			self.bot_reply()
Beispiel #2
0
	def on_update(self):
		"""Update parent status as `Open` or `Replied`."""
		if self.comment_type != 'Updated':
			update_parent_mins_to_first_response(self)
			self.bot_reply()
Beispiel #3
0
	def on_update(self):
		"""Update parent status as `Open` or `Replied`."""
		if self.comment_type != 'Updated':
			update_parent_mins_to_first_response(self)
			update_comment_in_doc(self)
			self.bot_reply()