Browse Source

Merge branch '8.0' of /home/iii/addons-yelizariev/../mail_delete_access_link into 8.0-move-modules-from-addons-yelizariev

pull/30/head
Ildar Nasyrov 9 years ago
parent
commit
9e36a28470
  1. 4
      mail_delete_access_link/README.rst
  2. 1
      mail_delete_access_link/__init__.py
  3. 14
      mail_delete_access_link/__openerp__.py
  4. 8
      mail_delete_access_link/mail_delete_access_link.py
  5. BIN
      mail_delete_access_link/static/description/icon.png

4
mail_delete_access_link/README.rst

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

1
mail_delete_access_link/__init__.py

@ -0,0 +1 @@
import mail_delete_access_link

14
mail_delete_access_link/__openerp__.py

@ -0,0 +1,14 @@
{
'name' : 'Delete access link in email footer',
'version' : '1.0.0',
'author' : 'IT-Projects LLC, Ivan Yelizariev',
'license': 'GPL-3',
'category' : 'Social Network',
'website' : 'https://twitter.com/yelizariev',
'price': 9.00,
'currency': 'EUR',
'depends' : ['mail'],
'data':[
],
'installable': True
}

8
mail_delete_access_link/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

BIN
mail_delete_access_link/static/description/icon.png

After

Width: 100  |  Height: 100  |  Size: 2.1 KiB

Loading…
Cancel
Save