Browse Source

split mail_delete_odoo_footer in two modules:

* mail_delete_access_link
* mail_delete_sent_by_footer
pull/30/head
Ivan Yelizariev 10 years ago
commit
8a6bb6789c
  1. 4
      README.rst
  2. 1
      __init__.py
  3. 11
      __openerp__.py
  4. 8
      mail_delete_access_link.py

4
README.rst

@ -0,0 +1,4 @@
Delete access link in email footer
==================================
Tested on 8.0 ab7b5d7732a7c222a0aea45bd173742acd47242d

1
__init__.py

@ -0,0 +1 @@
import mail_delete_access_link

11
__openerp__.py

@ -0,0 +1,11 @@
{
'name' : 'Delete access link in email footer',
'version' : '1.0.0',
'author' : 'Ivan Yelizariev',
'category' : 'Social Network',
'website' : 'https://yelizariev.github.io',
'depends' : ['mail'],
'data':[
],
'installable': True
}

8
mail_delete_access_link.py

@ -0,0 +1,8 @@
from openerp.osv import osv
from openerp import tools, SUPERUSER_ID
class mail_mail(osv.Model):
_inherit = 'mail.mail'
def _get_partner_access_link(self, cr, uid, mail, partner=None, context=None):
return None
Loading…
Cancel
Save