diff --git a/mail_delete_access_link/README.rst b/mail_delete_access_link/README.rst deleted file mode 100644 index 8f92460..0000000 --- a/mail_delete_access_link/README.rst +++ /dev/null @@ -1,4 +0,0 @@ -Delete access link in email footer -================================== - -Tested on 8.0 ab7b5d7732a7c222a0aea45bd173742acd47242d diff --git a/mail_delete_access_link/__init__.py b/mail_delete_access_link/__init__.py deleted file mode 100644 index bc7f5d6..0000000 --- a/mail_delete_access_link/__init__.py +++ /dev/null @@ -1 +0,0 @@ -import mail_delete_access_link diff --git a/mail_delete_access_link/__openerp__.py b/mail_delete_access_link/__openerp__.py deleted file mode 100644 index 2b632e1..0000000 --- a/mail_delete_access_link/__openerp__.py +++ /dev/null @@ -1,14 +0,0 @@ -{ - '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 -} diff --git a/mail_delete_access_link/mail_delete_access_link.py b/mail_delete_access_link/mail_delete_access_link.py deleted file mode 100644 index 4445a67..0000000 --- a/mail_delete_access_link/mail_delete_access_link.py +++ /dev/null @@ -1,8 +0,0 @@ -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 diff --git a/mail_delete_access_link/static/description/icon.png b/mail_delete_access_link/static/description/icon.png deleted file mode 100644 index 79f7d8f..0000000 Binary files a/mail_delete_access_link/static/description/icon.png and /dev/null differ diff --git a/mail_delete_sent_by_footer/README.rst b/mail_delete_sent_by_footer/README.rst deleted file mode 100644 index 359199e..0000000 --- a/mail_delete_sent_by_footer/README.rst +++ /dev/null @@ -1,4 +0,0 @@ -Delete "Sent by..." footer in email -=================================== - -Tested on 8.0 ab7b5d7732a7c222a0aea45bd173742acd47242d diff --git a/mail_delete_sent_by_footer/__init__.py b/mail_delete_sent_by_footer/__init__.py deleted file mode 100644 index 6219218..0000000 --- a/mail_delete_sent_by_footer/__init__.py +++ /dev/null @@ -1 +0,0 @@ -import mail_delete_sent_by_footer diff --git a/mail_delete_sent_by_footer/__openerp__.py b/mail_delete_sent_by_footer/__openerp__.py deleted file mode 100644 index c19a290..0000000 --- a/mail_delete_sent_by_footer/__openerp__.py +++ /dev/null @@ -1,14 +0,0 @@ -{ - 'name' : 'Delete "Sent by..." footer in email', - 'version' : '1.0.0', - 'author' : 'IT-Projects LLC, Ivan Yelizariev', - 'license': 'GPL-3', - 'category' : 'Debranding', - 'website' : 'https://twitter.com/yelizariev', - 'price': 9.00, - 'currency': 'EUR', - 'depends' : ['mail'], - 'data':[ - ], - 'installable': True -} diff --git a/mail_delete_sent_by_footer/mail_delete_sent_by_footer.py b/mail_delete_sent_by_footer/mail_delete_sent_by_footer.py deleted file mode 100644 index 41e03fb..0000000 --- a/mail_delete_sent_by_footer/mail_delete_sent_by_footer.py +++ /dev/null @@ -1,21 +0,0 @@ -from openerp.osv import osv -from openerp import tools, SUPERUSER_ID - -class mail_notification(osv.Model): - _inherit = 'mail.notification' - - def get_signature_footer(self, cr, uid, user_id, res_model=None, res_id=None, context=None, user_signature=True): - footer = "" - if not user_id: - return footer - - # add user signature - user = self.pool.get("res.users").browse(cr, SUPERUSER_ID, [user_id], context=context)[0] - if user_signature: - if user.signature: - signature = user.signature - else: - signature = "--
%s" % user.name - footer = tools.append_content_to_html(footer, signature, plaintext=False) - - return footer diff --git a/mail_delete_sent_by_footer/static/description/icon.png b/mail_delete_sent_by_footer/static/description/icon.png deleted file mode 100644 index 79f7d8f..0000000 Binary files a/mail_delete_sent_by_footer/static/description/icon.png and /dev/null differ