Browse Source

Merge remote-tracking branch 'upstream/8.0' into 9.0-merge-976698548de0c4b1a2d6cc73f2abd6a9d474f871

pull/37/head
Ivan Yelizariev 9 years ago
parent
commit
449c69f149
  1. 17
      README.md
  2. BIN
      mail_all/images/1.png
  3. 4
      mail_delete_access_link/README.rst
  4. 1
      mail_delete_access_link/__init__.py
  5. 14
      mail_delete_access_link/__openerp__.py
  6. 8
      mail_delete_access_link/mail_delete_access_link.py
  7. BIN
      mail_delete_access_link/static/description/icon.png
  8. 4
      mail_delete_sent_by_footer/README.rst
  9. 1
      mail_delete_sent_by_footer/__init__.py
  10. 14
      mail_delete_sent_by_footer/__openerp__.py
  11. 21
      mail_delete_sent_by_footer/mail_delete_sent_by_footer.py
  12. BIN
      mail_delete_sent_by_footer/static/description/icon.png
  13. 2
      mail_move_message/__openerp__.py
  14. 27
      mail_recovery/README.rst

17
README.md

@ -4,11 +4,12 @@ Odoo (OpenERP) mail addons
List of repositories:
---------------------
* https://github.com/yelizariev/addons-yelizariev
* https://github.com/yelizariev/pos-addons
* https://github.com/yelizariev/mail-addons
* https://github.com/yelizariev/rental-addons
* https://github.com/yelizariev/access-addons
* https://github.com/yelizariev/website-addons
* https://github.com/yelizariev/l10n-addons
* https://github.com/yelizariev/odoo-saas-tools
* https://github.com/it-projects-llc/misc-addons
* https://github.com/it-projects-llc/pos-addons
* https://github.com/it-projects-llc/mail-addons
* https://github.com/it-projects-llc/rental-addons
* https://github.com/it-projects-llc/access-addons
* https://github.com/it-projects-llc/website-addons
* https://github.com/it-projects-llc/l10n-addons
* https://github.com/it-projects-llc/odoo-telegram
* https://github.com/it-projects-llc/odoo-saas-tools

BIN
mail_all/images/1.png

After

Width: 740  |  Height: 394  |  Size: 96 KiB

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

4
mail_delete_sent_by_footer/README.rst

@ -0,0 +1,4 @@
Delete "Sent by..." footer in email
===================================
Tested on 8.0 ab7b5d7732a7c222a0aea45bd173742acd47242d

1
mail_delete_sent_by_footer/__init__.py

@ -0,0 +1 @@
import mail_delete_sent_by_footer

14
mail_delete_sent_by_footer/__openerp__.py

@ -0,0 +1,14 @@
{
'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
}

21
mail_delete_sent_by_footer/mail_delete_sent_by_footer.py

@ -0,0 +1,21 @@
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 = "--<br />%s" % user.name
footer = tools.append_content_to_html(footer, signature, plaintext=False)
return footer

BIN
mail_delete_sent_by_footer/static/description/icon.png

After

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

2
mail_move_message/__openerp__.py

@ -5,7 +5,7 @@
'license': 'LGPL-3',
'category' : 'Social Network',
'website' : 'https://twitter.com/yelizariev',
'price': 9.00,
'price': 100.00,
'currency': 'EUR',
'depends' : ['mail', 'web_polymorphic_field'],
'images': ['images/inbox.png'],

27
mail_recovery/README.rst

@ -0,0 +1,27 @@
===============
Mail Recovery
===============
Save and recover message from localStorage if it was not sent
Credits
=======
Contributors
------------
* Ildar Nasyrov <nasyrov@it-projects.info>
Sponsors
--------
* `IT-Projects LLC <https://it-projects.info>`_
Further information
===================
HTML Description: https://apps.odoo.com/apps/modules/8.0/mail_recovery/
.. Usage instructions: `<doc/index.rst>`_
.. Changelog: `<doc/changelog.rst>`_
Tested on Odoo 8.0 2ff993ff8cff94bdc568f8579000f2f10b32c810
Loading…
Cancel
Save