#raise error on comment message if user is not employee
employee = self._check_user_is_employee(cr, uid, context=context)
if not employee and type == 'comment':
- raise orm.except_orm(_('Access Denied'),_('Restricted to employees.'))
+ raise orm.except_orm(_('Warning'),_('Restricted to employees.'))
# if we're processing a message directly coming from the gateway, the destination model was
# set in the context.
this._super.apply(this, arguments);
this.ParentViewManager = parent;
this.node = _.clone(node);
- console.log(self.node);
this.node.params = _.extend({
'display_indented_thread': -1,
'show_reply_button': false,