2013-09-16 10:10:35 +00:00
|
|
|
openerp.mass_mailing = function(openerp) {
|
|
|
|
|
|
|
|
openerp.web_kanban.KanbanRecord.include({
|
|
|
|
on_card_clicked: function (event) {
|
|
|
|
if (this.view.dataset.model === 'mail.mass_mailing.campaign') {
|
2014-03-17 16:09:19 +00:00
|
|
|
this.$('.oe_mailings').click();
|
2013-09-16 10:10:35 +00:00
|
|
|
} else {
|
|
|
|
this._super.apply(this, arguments);
|
|
|
|
}
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
};
|