Update document status via communication if not feed (#4234)
This commit is contained in:
parent
7dd2c1c941
commit
451b48e4e2
1 changed files with 4 additions and 3 deletions
|
|
@ -94,9 +94,10 @@ class Communication(Document):
|
|||
|
||||
def on_update(self):
|
||||
"""Update parent status as `Open` or `Replied`."""
|
||||
update_parent_status(self)
|
||||
update_comment_in_doc(self)
|
||||
self.bot_reply()
|
||||
if self.comment_type != 'Updated':
|
||||
update_parent_status(self)
|
||||
update_comment_in_doc(self)
|
||||
self.bot_reply()
|
||||
|
||||
def on_trash(self):
|
||||
if (not self.flags.ignore_permissions
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue