[UPDATE]
parent
d75fc90618
commit
e4cc516647
|
@ -18,7 +18,7 @@ To configure this module, you need to:
|
||||||
|
|
||||||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
||||||
:alt: Try me on Runbot
|
: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
|
.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt
|
||||||
.. branch is "8.0" for example
|
.. branch is "8.0" for example
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
'name': 'Synchronize Gravatar image',
|
'name': 'Synchronize Gravatar image',
|
||||||
'version': '1',
|
'version': '8.0.1.0.0',
|
||||||
'author': 'Endika Iglesias, Odoo Community Association (OCA)',
|
'author': 'Endika Iglesias, Odoo Community Association (OCA)',
|
||||||
'category': 'Tools',
|
'category': 'Tools',
|
||||||
'website': 'http://www.endikaiglesias.com/',
|
'website': 'http://www.endikaiglesias.com/',
|
||||||
|
|
|
@ -32,6 +32,6 @@ class ResUsers(models.Model):
|
||||||
self.write({'image': user_gravatar})
|
self.write({'image': user_gravatar})
|
||||||
else:
|
else:
|
||||||
raise Warning(
|
raise Warning(
|
||||||
_("You don't have Gravatar image to this %s email." % (
|
_("There is no Gravatar image for this email (%s)" % (
|
||||||
email)))
|
email)))
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue