* mail_delete_access_link * mail_delete_sent_by_footer
@ -0,0 +1,4 @@
Delete access link in email footer
==================================
Tested on 8.0 ab7b5d7732a7c222a0aea45bd173742acd47242d
@ -0,0 +1 @@
import mail_delete_access_link
@ -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
}
@ -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