Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion auth_admin_passkey/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Admin password become a passkey for all active logins
Functionality :
---------------
* Administrator has now the possibility to login in with any login;
* By default, OpenERP will send a mail to user and admin to indicate them;
* By default, Odoo will send a mail to user and admin to indicate them;
* If a user and the admin have the same password, admin will be informed;

Technical information :
Expand Down
2 changes: 1 addition & 1 deletion auth_admin_passkey/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# Admin Passkey module for OpenERP
# Admin Passkey module for Odoo
# Copyright (C) 2013-2014 GRAP (http://www.grap.coop)
# @author Sylvain LE GAL (https://twitter.com/legalsylvain)
#
Expand Down
2 changes: 1 addition & 1 deletion auth_admin_passkey/__openerp__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# Admin Passkey module for OpenERP
# Admin Passkey module for Odoo
# Copyright (C) 2013-2014 GRAP (http://www.grap.coop)
# @author Sylvain LE GAL (https://twitter.com/legalsylvain)
#
Expand Down
2 changes: 1 addition & 1 deletion auth_admin_passkey/data/ir_config_parameter.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ********************************************************************** -->
<!--Admin Passkey module for OpenERP -->
<!--Admin Passkey module for Odoo -->
<!--Copyright (C) 2013-2014 GRAP (http://www.grap.coop) -->
<!--@author Sylvain LE GAL (https://twitter.com/legalsylvain) -->

Expand Down
12 changes: 6 additions & 6 deletions auth_admin_passkey/i18n/auth_admin_passkey.pot
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##############################################################################
#
# Admin Passkey module for OpenERP
# Admin Passkey module for Odoo
# Copyright (C) 2013-2014 GRAP (http://www.grap.coop)
# @author Sylvain LE GAL (https://twitter.com/legalsylvain)
#
Expand All @@ -18,13 +18,13 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
# Translation of OpenERP Server.
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * auth_admin_passkey
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Project-Id-Version: Odoo Server 7.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-03-23 20:41+0000\n"
"PO-Revision-Date: 2014-03-23 20:41+0000\n"
Expand Down Expand Up @@ -85,17 +85,17 @@ msgstr ""

#. module: auth_admin_passkey
#: help:base.config.settings,auth_admin_passkey_send_to_user:0
msgid "When the administrator use his password to login in with a different account, OpenERP will send an email to the account user."
msgid "When the administrator use his password to login in with a different account, Odoo will send an email to the account user."
msgstr ""

#. module: auth_admin_passkey
#: help:base.config.settings,auth_admin_passkey_send_to_admin:0
msgid "When the administrator use his password to login in with a different account, OpenERP will send an email to the admin user."
msgid "When the administrator use his password to login in with a different account, Odoo will send an email to the admin user."
msgstr ""

#. module: auth_admin_passkey
#: code:addons/auth_admin_passkey/model/res_users.py:64
#, python-format
msgid "[WARNING] OpenERP Security Risk"
msgid "[WARNING] Odoo Security Risk"
msgstr ""

6 changes: 3 additions & 3 deletions auth_admin_passkey/i18n/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,18 @@ msgstr "Benutzer"
#: help:base.config.settings,auth_admin_passkey_send_to_user:0
msgid ""
"When the administrator use his password to login in with a different "
"account, OpenERP will send an email to the account user."
"account, Odoo will send an email to the account user."
msgstr ""

#. module: auth_admin_passkey
#: help:base.config.settings,auth_admin_passkey_send_to_admin:0
msgid ""
"When the administrator use his password to login in with a different "
"account, OpenERP will send an email to the admin user."
"account, Odoo will send an email to the admin user."
msgstr ""

#. module: auth_admin_passkey
#: code:addons/auth_admin_passkey/model/res_users.py:86
#, python-format
msgid "[WARNING] OpenERP Security Risk"
msgid "[WARNING] Odoo Security Risk"
msgstr ""
6 changes: 3 additions & 3 deletions auth_admin_passkey/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,18 @@ msgstr "Usuarios"
#: help:base.config.settings,auth_admin_passkey_send_to_user:0
msgid ""
"When the administrator use his password to login in with a different "
"account, OpenERP will send an email to the account user."
"account, Odoo will send an email to the account user."
msgstr ""

#. module: auth_admin_passkey
#: help:base.config.settings,auth_admin_passkey_send_to_admin:0
msgid ""
"When the administrator use his password to login in with a different "
"account, OpenERP will send an email to the admin user."
"account, Odoo will send an email to the admin user."
msgstr ""

#. module: auth_admin_passkey
#: code:addons/auth_admin_passkey/model/res_users.py:86
#, python-format
msgid "[WARNING] OpenERP Security Risk"
msgid "[WARNING] Odoo Security Risk"
msgstr ""
12 changes: 6 additions & 6 deletions auth_admin_passkey/i18n/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,18 @@ msgstr "Utilisateurs"
#: help:base.config.settings,auth_admin_passkey_send_to_user:0
msgid ""
"When the administrator use his password to login in with a different "
"account, OpenERP will send an email to the account user."
msgstr "Quand l'administrateur utilise son mot de passe pour s'authentifier avec un compte différent, OpenERP lui enverra un mail."
"account, Odoo will send an email to the account user."
msgstr "Quand l'administrateur utilise son mot de passe pour s'authentifier avec un compte différent, Odoo lui enverra un mail."

#. module: auth_admin_passkey
#: help:base.config.settings,auth_admin_passkey_send_to_admin:0
msgid ""
"When the administrator use his password to login in with a different "
"account, OpenERP will send an email to the admin user."
msgstr "Quand l'administrateur utilise son mot de passe pour s'authentifier avec un compte différent, OpenERP enverra un mail à l'utilisateur."
"account, Odoo will send an email to the admin user."
msgstr "Quand l'administrateur utilise son mot de passe pour s'authentifier avec un compte différent, Odoo enverra un mail à l'utilisateur."

#. module: auth_admin_passkey
#: code:addons/auth_admin_passkey/model/res_users.py:86
#, python-format
msgid "[WARNING] OpenERP Security Risk"
msgstr "[WARNING] Faille de sécurité sur OpenERP"
msgid "[WARNING] Odoo Security Risk"
msgstr "[WARNING] Faille de sécurité sur Odoo"
8 changes: 4 additions & 4 deletions auth_admin_passkey/i18n/pt_BR.po
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,18 @@ msgstr "Usuários"
#: help:base.config.settings,auth_admin_passkey_send_to_user:0
msgid ""
"When the administrator use his password to login in with a different "
"account, OpenERP will send an email to the account user."
"account, Odoo will send an email to the account user."
msgstr "Quando o administrador usa sua senha para dar login com uma conta diferente, OPENERP irá enviar um email para a conta do usuário."

#. module: auth_admin_passkey
#: help:base.config.settings,auth_admin_passkey_send_to_admin:0
msgid ""
"When the administrator use his password to login in with a different "
"account, OpenERP will send an email to the admin user."
"account, Odoo will send an email to the admin user."
msgstr "Quando o administrador usa sua senha para dar login com uma conta diferente, OPENERP irá enviar um email para a conta do administrador."

#. module: auth_admin_passkey
#: code:addons/auth_admin_passkey/model/res_users.py:86
#, python-format
msgid "[WARNING] OpenERP Security Risk"
msgstr "[AVISO] OpenERP Risco de Segurança"
msgid "[WARNING] Odoo Security Risk"
msgstr "[AVISO] Odoo Risco de Segurança"
12 changes: 6 additions & 6 deletions auth_admin_passkey/i18n/sl.po
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,18 @@ msgstr "Uporabniki"
#: help:base.config.settings,auth_admin_passkey_send_to_user:0
msgid ""
"When the administrator use his password to login in with a different "
"account, OpenERP will send an email to the account user."
msgstr "Ko administrator uporabi svoje geslo za prijavo v drug račun, bo OpenERP poslal e-pošto uporabniku računa."
"account, Odoo will send an email to the account user."
msgstr "Ko administrator uporabi svoje geslo za prijavo v drug račun, bo Odoo poslal e-pošto uporabniku računa."

#. module: auth_admin_passkey
#: help:base.config.settings,auth_admin_passkey_send_to_admin:0
msgid ""
"When the administrator use his password to login in with a different "
"account, OpenERP will send an email to the admin user."
msgstr "Ko administrator uporabi svoje geslo za prijavo v drug račun, bo OpenERP poslal e-pošto administratorju."
"account, Odoo will send an email to the admin user."
msgstr "Ko administrator uporabi svoje geslo za prijavo v drug račun, bo Odoo poslal e-pošto administratorju."

#. module: auth_admin_passkey
#: code:addons/auth_admin_passkey/model/res_users.py:86
#, python-format
msgid "[WARNING] OpenERP Security Risk"
msgstr "[OPOZORILO] OpenERP varnostno tveganje"
msgid "[WARNING] Odoo Security Risk"
msgstr "[OPOZORILO] Odoo varnostno tveganje"
2 changes: 1 addition & 1 deletion auth_admin_passkey/model/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# Admin Passkey module for OpenERP
# Admin Passkey module for Odoo
# Copyright (C) 2013-2014 GRAP (http://www.grap.coop)
# @author Sylvain LE GAL (https://twitter.com/legalsylvain)
#
Expand Down
6 changes: 3 additions & 3 deletions auth_admin_passkey/model/res_config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# Admin Passkey module for OpenERP
# Admin Passkey module for Odoo
# Copyright (C) 2013-2014 GRAP (http://www.grap.coop)
# @author Sylvain LE GAL (https://twitter.com/legalsylvain)
#
Expand Down Expand Up @@ -64,13 +64,13 @@ def set_auth_admin_passkey_send_to_user(self, cr, uid, ids, context=None):
'auth_admin_passkey_send_to_admin': fields.boolean(
'Send email to admin user.',
help="""When the administrator use his password to login in """
"""with a different account, OpenERP will send an email """
"""with a different account, Odoo will send an email """
"""to the admin user.""",
),
'auth_admin_passkey_send_to_user': fields.boolean(
string='Send email to user.',
help="""When the administrator use his password to login in """
"""with a different account, OpenERP will send an email """
"""with a different account, Odoo will send an email """
"""to the account user.""",
),
}
4 changes: 2 additions & 2 deletions auth_admin_passkey/model/res_users.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# Admin Passkey module for OpenERP
# Admin Passkey module for Odoo
# Copyright (C) 2013-2014 GRAP (http://www.grap.coop)
# @author Sylvain LE GAL (https://twitter.com/legalsylvain)
#
Expand Down Expand Up @@ -83,7 +83,7 @@ def _send_email_same_password(self, cr, login_user):
mail_obj.create(cr, SUPERUSER_ID, {
'email_to': admin_user.email,
'subject': self._get_translation(
cr, admin_user.lang, _('[WARNING] OpenERP Security Risk')),
cr, admin_user.lang, _('[WARNING] Odoo Security Risk')),
'body_html': self._get_translation(
cr, admin_user.lang, _(
"""<pre>User with login '%s' has the same """
Expand Down
2 changes: 1 addition & 1 deletion auth_admin_passkey/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# Admin Passkey module for OpenERP
# Admin Passkey module for Odoo
# Copyright (C) 2013-2014 GRAP (http://www.grap.coop)
# @author Sylvain LE GAL (https://twitter.com/legalsylvain)
#
Expand Down
2 changes: 1 addition & 1 deletion auth_admin_passkey/tests/test_auth_admin_passkey.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# Admin Passkey module for OpenERP
# Admin Passkey module for Odoo
# Copyright (C) 2013-2014 GRAP (http://www.grap.coop)
# @author Sylvain LE GAL (https://twitter.com/legalsylvain)
#
Expand Down
2 changes: 1 addition & 1 deletion auth_admin_passkey/view/res_config_view.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ********************************************************************** -->
<!--Admin Passkey module for OpenERP -->
<!--Admin Passkey module for Odoo -->
<!--Copyright (C) 2013-2014 GRAP (http://www.grap.coop) -->
<!--@author Sylvain LE GAL (https://twitter.com/legalsylvain) -->

Expand Down