Browse Source
Show smart buttons and calculate mails count.
Show smart buttons and calculate mails count.
notified_partner_ids was removed in 9.0, so it changed to partner_ids.pull/6/head
x620
9 years ago
4 changed files with 37 additions and 29 deletions
-
2res_partner_mails_count/models.py
-
26res_partner_mails_count/static/src/js/main.js
-
22res_partner_mails_count/templates.xml
-
16res_partner_mails_count/views/res_partner_mails_count.xml
@ -1,10 +1,16 @@ |
|||
openerp.res_partner_mails_count = function(instance){ |
|||
instance.mail.Wall.include({ |
|||
init: function(){ |
|||
this._super.apply(this, arguments); |
|||
if(this.context.ignore_search_model){ |
|||
delete this.defaults.model; |
|||
} |
|||
} |
|||
}); |
|||
}; |
|||
// openerp.res_partner_mails_count = function(instance){
|
|||
// instance.mail.Wall.include({
|
|||
// init: function(){
|
|||
// this._super.apply(this, arguments);
|
|||
// if(this.context.ignore_search_model){
|
|||
// delete this.defaults.model;
|
|||
// }
|
|||
// }
|
|||
// });
|
|||
// };
|
|||
|
|||
|
|||
// odoo.define('res_partner_mails_count.main', function(require) {
|
|||
// "use strict";
|
|||
//
|
|||
// });
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue