Odoo Help

3

0
1 Answer
2
Avatar

Gokulakrishnan Murugesan India

--Gokulakrishnan Murugesan--

5097
| 6 3 5
Chennai, India
--Gokulakrishnan Murugesan--


Gokulakrishnan Murugesan India
10/18/19, 2:53 AM

Hi Everyone,

It's done by using following code.

var ControlPanelMixin = require('web.ControlPanelMixin');
var AnalyticsChart = Widget.extend(ControlPanelMixin, {
init: function (parent, action, options) {
this._super.apply(this, arguments);
this.action_manager = parent;
var options = action.params || {};
this.params = options;
action.display_name = _t('Analytics Report');
},

start: function(){
var self = this;
var status = {
breadcrumbs: self.action_manager.get_breadcrumbs(),
cp_content: {$buttons: self.$buttons},
};
self.update_control_panel(status);
},
});

Thanks.

Ask a Question
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now