Browse Source

README.rst: no read messages, but all messages

main.js: commented deprecated code
__openerp__.py: fix syntax error
pull/6/head
x620 9 years ago
parent
commit
284144d9a1
  1. 4
      mail_archives/README.rst
  2. 2
      res_partner_mails_count/__openerp__.py
  3. 20
      res_partner_mails_count/static/src/js/main.js

4
mail_archives/README.rst

@ -1,11 +1,11 @@
Mail Archives
=============
Display archive channel which contain read messages
Adds Archive menu, which shows all messages
Usage
-----
Click by archive menu item and receive read messages (having attribute read = true)
Click by archive menu item and receive all messages
Further information
-------------------

2
res_partner_mails_count/__openerp__.py

@ -14,7 +14,7 @@
"depends": [
'base',
'mail' ,
'mail',
],
"external_dependencies": {"python": [], "bin": []},
"data": [

20
res_partner_mails_count/static/src/js/main.js

@ -1,10 +1,10 @@
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;
// }
// }
// });
// };
Loading…
Cancel
Save