-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MIG][9.0][auth_supplier] Migrate. #434
Merged
Merged
Changes from 14 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
b117951
[ADD] auth_supplier: New Module.
sergio-teruel 4eaba4b
[ADD] auth_supplier: New Module.
sergio-teruel a431f4f
Merge remote-tracking branch 'origin/auth_supplier' into auth_supplier
carlosdauden 9dda4f0
[FIX] auth_supplier: Change author order.
sergio-teruel 5f0467e
Merge remote-tracking branch 'origin/auth_supplier' into auth_supplier
carlosdauden da7d573
OCA Transbot updated translations from Transifex
oca-transbot b972bae
OCA Transbot updated translations from Transifex
oca-transbot e9d59e6
OCA Transbot updated translations from Transifex
oca-transbot e969b3e
OCA Transbot updated translations from Transifex
oca-transbot da4e03a
OCA Transbot updated translations from Transifex
oca-transbot aca8bb8
Merge branch '8.0-extract' into 9.0-auth_supplier-migration
yajo 4256c83
[MIG][9.0][auth_supplier] Migrate.
yajo 75a60ba
Update XML tags.
yajo fed5f84
Inform about the need to have technical features enabled.
yajo d21e5e1
Don't assume website is installed.
yajo eb0e9f7
Add known issue
yajo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
|
||
============= | ||
Auth Supplier | ||
============= | ||
|
||
This module was written to extends the functionality of auth signup | ||
and allows the user to create an account as a supplier. | ||
|
||
Configuration | ||
============= | ||
|
||
To enable users to create accounts: | ||
|
||
* *Developer mode* should be activated first to have access to technical features. | ||
* Go to *Settings > General settings*. | ||
* Enable *Allow external users to sign up*. | ||
* Enable *Activate the customer portal*. | ||
|
||
Usage | ||
===== | ||
|
||
To use this module, you need to: | ||
|
||
* Log out. | ||
* In home page, press *Sign in*. | ||
* Press *Sign up*. | ||
* Select *Supplier* in account type. | ||
* Fill the form. | ||
|
||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas | ||
:alt: Try me on Runbot | ||
:target: https://runbot.odoo-community.org/runbot/149/9.0 | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
||
* If you have nothing in the portal, the user will be redirected to an empty | ||
page. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues | ||
<https://github.com/OCA/server-tools/issues>`_. In case of trouble, please | ||
check there if your issue has already been reported. If you spotted it first, | ||
help us smashing it by providing a detailed and welcomed feedback. | ||
|
||
Credits | ||
======= | ||
|
||
Contributors | ||
------------ | ||
|
||
* Rafael Blasco <[email protected]> | ||
* Pedro M. Baeza <[email protected]> | ||
* Carlos Dauden <[email protected]> | ||
* Sergio Teruel <[email protected]> | ||
* Jairo Llopis <[email protected]> | ||
|
||
Maintainer | ||
---------- | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
This module is maintained by the OCA. | ||
|
||
OCA, or the Odoo Community Association, is a nonprofit organization whose | ||
mission is to support the collaborative development of Odoo features and | ||
promote its widespread use. | ||
|
||
To contribute to this module, please visit https://odoo-community.org. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# -*- coding: utf-8 -*- | ||
# (c) 2015 Antiun Ingeniería S.L. - Sergio Teruel | ||
# (c) 2015 Antiun Ingeniería S.L. - Carlos Dauden | ||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html | ||
|
||
from . import models | ||
from . import controllers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# -*- coding: utf-8 -*- | ||
# (c) 2015 Antiun Ingeniería S.L. - Sergio Teruel | ||
# (c) 2015 Antiun Ingeniería S.L. - Carlos Dauden | ||
# © 2016 Jairo Llopis <[email protected]> | ||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html | ||
|
||
{ | ||
'name': "Auth Supplier", | ||
'category': 'Tools', | ||
'version': '9.0.1.0.0', | ||
'depends': [ | ||
'auth_signup', | ||
], | ||
'data': [ | ||
'security/auth_supplier_security.xml', | ||
'views/auth_supplier_view.xml', | ||
], | ||
'author': 'Antiun Ingeniería S.L., ' | ||
'Incaser Informatica S.L., ' | ||
"Tecnativa, " | ||
'Odoo Community Association (OCA)', | ||
'website': 'http://www.incaser.es', | ||
'license': 'AGPL-3', | ||
'installable': True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# -*- coding: utf-8 -*- | ||
# (c) 2015 Antiun Ingeniería S.L. - Sergio Teruel | ||
# (c) 2015 Antiun Ingeniería S.L. - Carlos Dauden | ||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html | ||
|
||
from . import main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# -*- coding: utf-8 -*- | ||
# (c) 2015 Antiun Ingeniería S.L. - Sergio Teruel | ||
# (c) 2015 Antiun Ingeniería S.L. - Carlos Dauden | ||
# © 2016 Jairo Llopis <[email protected]> | ||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html | ||
|
||
from openerp.addons.auth_signup.controllers.main import AuthSignupHome | ||
from openerp.http import request | ||
|
||
|
||
class AuthSignupHome(AuthSignupHome): | ||
def _signup_with_values(self, token, values): | ||
values.update(account_type=request.params.get('account_type', False)) | ||
return super(AuthSignupHome, self)._signup_with_values(token, values) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * auth_supplier | ||
# | ||
# Translators: | ||
# Rudolf Schnapka <[email protected]>, 2016 | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: server-tools (8.0)\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2016-01-19 14:44+0000\n" | ||
"PO-Revision-Date: 2016-01-18 14:17+0000\n" | ||
"Last-Translator: Rudolf Schnapka <[email protected]>\n" | ||
"Language-Team: German (http://www.transifex.com/oca/OCA-server-tools-8-0/language/de/)\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Language: de\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
||
#. module: auth_supplier | ||
#: view:website:auth_signup.fields | ||
msgid "Account Type" | ||
msgstr "Kontoart" | ||
|
||
#. module: auth_supplier | ||
#: model:ir.module.category,name:auth_supplier.module_auth_supplier | ||
msgid "Auth Supplier" | ||
msgstr "Auth-Lieferant" | ||
|
||
#. module: auth_supplier | ||
#: view:website:auth_signup.fields | ||
msgid "Customer" | ||
msgstr "Kunde" | ||
|
||
#. module: auth_supplier | ||
#: model:res.groups,name:auth_supplier.group_auth_supplier | ||
msgid "Portal Supplier" | ||
msgstr "Portal-Lieferant" | ||
|
||
#. module: auth_supplier | ||
#: view:website:auth_signup.fields | ||
msgid "Supplier" | ||
msgstr "Lieferant" | ||
|
||
#. module: auth_supplier | ||
#: model:ir.model,name:auth_supplier.model_res_users | ||
msgid "Users" | ||
msgstr "Benutzer" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * auth_supplier | ||
# | ||
# Translators: | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: server-tools (8.0)\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2015-11-27 14:01+0000\n" | ||
"PO-Revision-Date: 2015-10-30 14:43+0000\n" | ||
"Last-Translator: OCA Transbot <[email protected]>\n" | ||
"Language-Team: English (http://www.transifex.com/oca/OCA-server-tools-8-0/language/en/)\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Language: en\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
||
#. module: auth_supplier | ||
#: view:website:auth_signup.fields | ||
msgid "Account Type" | ||
msgstr "Account Type" | ||
|
||
#. module: auth_supplier | ||
#: model:ir.module.category,name:auth_supplier.module_auth_supplier | ||
msgid "Auth Supplier" | ||
msgstr "Auth Supplier" | ||
|
||
#. module: auth_supplier | ||
#: view:website:auth_signup.fields | ||
msgid "Customer" | ||
msgstr "Customer" | ||
|
||
#. module: auth_supplier | ||
#: model:res.groups,name:auth_supplier.group_auth_supplier | ||
msgid "Portal Supplier" | ||
msgstr "Portal Supplier" | ||
|
||
#. module: auth_supplier | ||
#: view:website:auth_signup.fields | ||
msgid "Supplier" | ||
msgstr "Supplier" | ||
|
||
#. module: auth_supplier | ||
#: model:ir.model,name:auth_supplier.model_res_users | ||
msgid "Users" | ||
msgstr "Users" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * auth_supplier | ||
# | ||
# Translators: | ||
# Antonio Trueba, 2016 | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: server-tools (8.0)\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2016-01-19 14:44+0000\n" | ||
"PO-Revision-Date: 2016-02-16 15:12+0000\n" | ||
"Last-Translator: Antonio Trueba\n" | ||
"Language-Team: Spanish (http://www.transifex.com/oca/OCA-server-tools-8-0/language/es/)\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Language: es\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
||
#. module: auth_supplier | ||
#: view:website:auth_signup.fields | ||
msgid "Account Type" | ||
msgstr "Tipo de cuenta" | ||
|
||
#. module: auth_supplier | ||
#: model:ir.module.category,name:auth_supplier.module_auth_supplier | ||
msgid "Auth Supplier" | ||
msgstr "Proveedor de autenticación" | ||
|
||
#. module: auth_supplier | ||
#: view:website:auth_signup.fields | ||
msgid "Customer" | ||
msgstr "Cliente" | ||
|
||
#. module: auth_supplier | ||
#: model:res.groups,name:auth_supplier.group_auth_supplier | ||
msgid "Portal Supplier" | ||
msgstr "" | ||
|
||
#. module: auth_supplier | ||
#: view:website:auth_signup.fields | ||
msgid "Supplier" | ||
msgstr "Proveedor" | ||
|
||
#. module: auth_supplier | ||
#: model:ir.model,name:auth_supplier.model_res_users | ||
msgid "Users" | ||
msgstr "Usuarios" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * auth_supplier | ||
# | ||
# Translators: | ||
# Christophe kryskool <[email protected]>, 2015 | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: server-tools (8.0)\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2015-11-27 14:01+0000\n" | ||
"PO-Revision-Date: 2015-11-21 17:37+0000\n" | ||
"Last-Translator: Christophe kryskool <[email protected]>\n" | ||
"Language-Team: French (http://www.transifex.com/oca/OCA-server-tools-8-0/language/fr/)\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Language: fr\n" | ||
"Plural-Forms: nplurals=2; plural=(n > 1);\n" | ||
|
||
#. module: auth_supplier | ||
#: view:website:auth_signup.fields | ||
msgid "Account Type" | ||
msgstr "Type de compte" | ||
|
||
#. module: auth_supplier | ||
#: model:ir.module.category,name:auth_supplier.module_auth_supplier | ||
msgid "Auth Supplier" | ||
msgstr "Identification fournisseur" | ||
|
||
#. module: auth_supplier | ||
#: view:website:auth_signup.fields | ||
msgid "Customer" | ||
msgstr "Client" | ||
|
||
#. module: auth_supplier | ||
#: model:res.groups,name:auth_supplier.group_auth_supplier | ||
msgid "Portal Supplier" | ||
msgstr "Portail fournisseur" | ||
|
||
#. module: auth_supplier | ||
#: view:website:auth_signup.fields | ||
msgid "Supplier" | ||
msgstr "Fournisseur" | ||
|
||
#. module: auth_supplier | ||
#: model:ir.model,name:auth_supplier.model_res_users | ||
msgid "Users" | ||
msgstr "Utilisateurs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * auth_supplier | ||
# | ||
# Translators: | ||
# Paolo Valier, 2016 | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: server-tools (8.0)\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2016-03-17 15:36+0000\n" | ||
"PO-Revision-Date: 2016-03-13 09:00+0000\n" | ||
"Last-Translator: Paolo Valier\n" | ||
"Language-Team: Italian (http://www.transifex.com/oca/OCA-server-tools-8-0/language/it/)\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Language: it\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
||
#. module: auth_supplier | ||
#: view:website:auth_signup.fields | ||
msgid "Account Type" | ||
msgstr "Tipo di Account" | ||
|
||
#. module: auth_supplier | ||
#: model:ir.module.category,name:auth_supplier.module_auth_supplier | ||
msgid "Auth Supplier" | ||
msgstr "" | ||
|
||
#. module: auth_supplier | ||
#: view:website:auth_signup.fields | ||
msgid "Customer" | ||
msgstr "Cliente" | ||
|
||
#. module: auth_supplier | ||
#: model:res.groups,name:auth_supplier.group_auth_supplier | ||
msgid "Portal Supplier" | ||
msgstr "Portale del Fornitore" | ||
|
||
#. module: auth_supplier | ||
#: view:website:auth_signup.fields | ||
msgid "Supplier" | ||
msgstr "Fornitore" | ||
|
||
#. module: auth_supplier | ||
#: model:ir.model,name:auth_supplier.model_res_users | ||
msgid "Users" | ||
msgstr "Utenti" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/Sign in/Sign up/ (tested on runbot)