Browse Source

[UPDATE]

pull/254/head
Endika Iglesias García 9 years ago
parent
commit
bd3da17b64
  1. 2
      base_user_gravatar/README.rst
  2. 2
      base_user_gravatar/__openerp__.py
  3. 2
      base_user_gravatar/models/res_users.py

2
base_user_gravatar/README.rst

@ -18,7 +18,7 @@ To configure this module, you need to:
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/{repo_id}/{branch}
:target: https://runbot.odoo-community.org/runbot/149/8.0
.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt
.. branch is "8.0" for example

2
base_user_gravatar/__openerp__.py

@ -4,7 +4,7 @@
{
'name': 'Synchronize Gravatar image',
'version': '1',
'version': '8.0.1.0.0',
'author': 'Endika Iglesias, Odoo Community Association (OCA)',
'category': 'Tools',
'website': 'http://www.endikaiglesias.com/',

2
base_user_gravatar/models/res_users.py

@ -32,6 +32,6 @@ class ResUsers(models.Model):
self.write({'image': user_gravatar})
else:
raise Warning(
_("You don't have Gravatar image to this %s email." % (
_("There is no Gravatar image for this email (%s)" % (
email)))
return True
Loading…
Cancel
Save