Permalink
Browse files

Update mail_channel.py

init_odooboot() is invalid. Change to: super(Channel, self).init_odoobot()
  • Loading branch information...
mardisiaw committed Nov 29, 2018
1 parent 2fe0127 commit 239fdb9de1abe9eb7cbddc0599459dbf418a3dbe
Showing with 1 addition and 1 deletion.
  1. +1 −1 web_debranding/models/mail_channel.py
@@ -9,7 +9,7 @@ class Channel(models.Model):

@api.model
def init_odoobot(self):
channel = super(Channel, self).init_odooboot()
channel = super(Channel, self).init_odoobot()
channel.write({
'name': 'Bot'
})

0 comments on commit 239fdb9

Please sign in to comment.