I'm trying to extend ChatAction function in mail/client_action.js in odoo 9
I tried .include but its not working
var ChatClientAction = require('mail.chat_client_action');
var Model = require('web.Model');
var ControlPanelMixin = require('web.ControlPanelMixin');
here mail.chat_client_action is returning an undefined value. So i'm not able to extend it.