Skip to content
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

WIP [12.0] portin website_sale_suggest_create_account #249

Merged
merged 11 commits into from
Oct 2, 2018
Merged
91 changes: 91 additions & 0 deletions website_sale_suggest_create_account/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
==========================================
Suggest to create user account when buying
==========================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fe--commerce-lightgray.png?logo=github
:target: https://github.com/OCA/e-commerce/tree/12.0/website_sale_suggest_create_account
:alt: OCA/e-commerce
.. |badge4| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/113/12.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4|

This module extends the functionality of e-Commerce to suggest
the buyer to log in or create an account, but without forcing him to do it.

This way you can avoid duplication of partners in your database and offer your
users a better experience without blocking 1-time buyers.

However, the *Process Checkout* button is not highlighted, to
implicitly encourage users to create the account or log in.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

* Log out.
* Buy something from your website.
* Go to your cart.

There you will see the new options.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/e-commerce/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.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Tecnativa
* LasLabs

Contributors
~~~~~~~~~~~~

* Rafael Blasco <rafabn@antiun.com>
* Jairo Llopis <yajo.sk8@gmail.com>
* Dave Lasley <dave@laslabs.com>
* Oscar Alcala <oscar@vauxoo.com>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

This module is part of the `OCA/e-commerce <https://github.com/OCA/e-commerce/tree/12.0/website_sale_suggest_create_account>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
21 changes: 21 additions & 0 deletions website_sale_suggest_create_account/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
# © 2015 Antiun Ingeniería, S.L.
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
{
"name": "Suggest to create user account when buying",
"summary": "Suggest users to create an account when buying in the website",
"version": "12.0.1.0.0",
"category": "Website",
"website": "https://www.tecnativa.com",
"author": "Tecnativa, "
"LasLabs, "
"Odoo Community Association (OCA)",
"license": "LGPL-3",
"installable": True,
"depends": [
"website_sale",
],
"data": [
"views/website_sale.xml",
],
}
38 changes: 38 additions & 0 deletions website_sale_suggest_create_account/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_suggest_create_account
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2018-08-27 19:24+0000\n"
"Last-Translator: Axel-G <git@r5d.de>\n"
"Language-Team: none\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.1.1\n"

#. module: website_sale_suggest_create_account
#: model:ir.ui.view,arch_db:website_sale_suggest_create_account.cart
msgid "<span>Checkout without sign up</span>"
msgstr "<span>Zur Kasse ohne Registrierung</span>"

#. module: website_sale_suggest_create_account
#: model:ir.ui.view,arch_db:website_sale_suggest_create_account.cart
msgid "<span>Log in and checkout</span>\n"
" <span class=\"fa fa-long-arrow-right\"/>"
msgstr ""
"<span>Mit Login zur Kasse</span>\n"
" <span class=\"fa fa-long-arrow-right\"/>"

#. module: website_sale_suggest_create_account
#: model:ir.ui.view,arch_db:website_sale_suggest_create_account.cart
msgid "<span>Sign up and checkout</span>\n"
" <span class=\"fa fa-long-arrow-right\"/>"
msgstr ""
"<span>Mit Registrierung zur Kasse</span>\n"
" <span class=\"fa fa-long-arrow-right\"/>"
42 changes: 42 additions & 0 deletions website_sale_suggest_create_account/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_suggest_create_account
#
# Translators:
# Pedro M. Baeza <pedro.baeza@gmail.com>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-11-29 01:20+0000\n"
"PO-Revision-Date: 2016-11-29 01:20+0000\n"
"Last-Translator: Pedro M. Baeza <pedro.baeza@gmail.com>, 2016\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: website_sale_suggest_create_account
#: model:ir.ui.view,arch_db:website_sale_suggest_create_account.cart
msgid "<span>Checkout without sign up</span>"
msgstr "<span>Comprar sin registrarse</span>"

#. module: website_sale_suggest_create_account
#: model:ir.ui.view,arch_db:website_sale_suggest_create_account.cart
msgid ""
"<span>Log in and checkout</span>\n"
" <span class=\"fa fa-long-arrow-right\"/>"
msgstr ""
"<span>Acceder a su cuenta y comprar</span>\n"
"<span class=\"fa fa-long-arrow-right\"/>"

#. module: website_sale_suggest_create_account
#: model:ir.ui.view,arch_db:website_sale_suggest_create_account.cart
msgid ""
"<span>Sign up and checkout</span>\n"
" <span class=\"fa fa-long-arrow-right\"/>"
msgstr ""
"<span>Registrarse y comprar</span>\n"
"<span class=\"fa fa-long-arrow-right\"/>"
40 changes: 40 additions & 0 deletions website_sale_suggest_create_account/i18n/es_CO.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_suggest_create_account
#
# Translators:
# JOSE ALEJANDRO ECHEVERRI VALENCIA <josealejandroeche@gmail.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-02 03:46+0000\n"
"PO-Revision-Date: 2018-02-02 03:46+0000\n"
"Last-Translator: JOSE ALEJANDRO ECHEVERRI VALENCIA <josealejandroeche@gmail."
"com>, 2018\n"
"Language-Team: Spanish (Colombia) (https://www.transifex.com/oca/teams/23907/"
"es_CO/)\n"
"Language: es_CO\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: website_sale_suggest_create_account
#: model:ir.ui.view,arch_db:website_sale_suggest_create_account.cart
msgid "<span>Checkout without sign up</span>"
msgstr "Pago sin registro"

#. module: website_sale_suggest_create_account
#: model:ir.ui.view,arch_db:website_sale_suggest_create_account.cart
msgid ""
"<span>Log in and checkout</span>\n"
" <span class=\"fa fa-long-arrow-right\"/>"
msgstr "Ingresar y pagar"

#. module: website_sale_suggest_create_account
#: model:ir.ui.view,arch_db:website_sale_suggest_create_account.cart
msgid ""
"<span>Sign up and checkout</span>\n"
" <span class=\"fa fa-long-arrow-right\"/>"
msgstr "Resgistrarse y pagar"
42 changes: 42 additions & 0 deletions website_sale_suggest_create_account/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_suggest_create_account
#
# Translators:
# Quentin THEURET <odoo@kerpeo.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-02 03:46+0000\n"
"PO-Revision-Date: 2018-02-02 03:46+0000\n"
"Last-Translator: Quentin THEURET <odoo@kerpeo.com>, 2018\n"
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: website_sale_suggest_create_account
#: model:ir.ui.view,arch_db:website_sale_suggest_create_account.cart
msgid "<span>Checkout without sign up</span>"
msgstr "<span>Paiement sans enregistrement </span>"

#. module: website_sale_suggest_create_account
#: model:ir.ui.view,arch_db:website_sale_suggest_create_account.cart
msgid ""
"<span>Log in and checkout</span>\n"
" <span class=\"fa fa-long-arrow-right\"/>"
msgstr ""
"<span>Se connecter et payer</span>\n"
" <span class=\"fa fa-long-arrow-right\"/>"

#. module: website_sale_suggest_create_account
#: model:ir.ui.view,arch_db:website_sale_suggest_create_account.cart
msgid ""
"<span>Sign up and checkout</span>\n"
" <span class=\"fa fa-long-arrow-right\"/>"
msgstr ""
"<span>S'enregistrer et payer</span>\n"
" <span class=\"fa fa-long-arrow-right\"/>"
43 changes: 43 additions & 0 deletions website_sale_suggest_create_account/i18n/hr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_suggest_create_account
#
# Translators:
# Bole <bole@dajmi5.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-07-11 07:32+0000\n"
"PO-Revision-Date: 2017-07-11 07:32+0000\n"
"Last-Translator: Bole <bole@dajmi5.com>, 2017\n"
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"

#. module: website_sale_suggest_create_account
#: model:ir.ui.view,arch_db:website_sale_suggest_create_account.cart
msgid "<span>Checkout without sign up</span>"
msgstr "<span>Završi bez prijave </span>"

#. module: website_sale_suggest_create_account
#: model:ir.ui.view,arch_db:website_sale_suggest_create_account.cart
msgid ""
"<span>Log in and checkout</span>\n"
" <span class=\"fa fa-long-arrow-right\"/>"
msgstr ""
"<span>Prijavi se i završi </span>\n"
" <span class=\"fa fa-long-arrow-right\"/>"

#. module: website_sale_suggest_create_account
#: model:ir.ui.view,arch_db:website_sale_suggest_create_account.cart
msgid ""
"<span>Sign up and checkout</span>\n"
" <span class=\"fa fa-long-arrow-right\"/>"
msgstr ""
"<span>Kreiraj korisnika i završi </span>\n"
" <span class=\"fa fa-long-arrow-right\"/>"
64 changes: 64 additions & 0 deletions website_sale_suggest_create_account/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_suggest_create_account
#
# Translators:
# Paolo Valier, 2016
# Paolo Valier, 2016
msgid ""
msgstr ""
"Project-Id-Version: e-commerce (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-05-06 13:06+0000\n"
"PO-Revision-Date: 2016-05-01 08:34+0000\n"
"Last-Translator: Paolo Valier\n"
"Language-Team: Italian (http://www.transifex.com/oca/OCA-e-commerce-8-0/"
"language/it/)\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: website_sale_suggest_create_account
#: model:ir.ui.view,arch_db:website_sale_suggest_create_account.cart
#, fuzzy
msgid "<span>Checkout without sign up</span>"
msgstr "Vai alla Cassa senza registrarti"

#. module: website_sale_suggest_create_account
#: model:ir.ui.view,arch_db:website_sale_suggest_create_account.cart
msgid ""
"<span>Log in and checkout</span>\n"
" <span class=\"fa fa-long-arrow-right\"/>"
msgstr ""

#. module: website_sale_suggest_create_account
#: model:ir.ui.view,arch_db:website_sale_suggest_create_account.cart
msgid ""
"<span>Sign up and checkout</span>\n"
" <span class=\"fa fa-long-arrow-right\"/>"
msgstr ""

#~ msgid ""
#~ "(\n"
#~ " user_id != website.user_id or\n"
#~ " env['ir.config_parameter'].get_param(\n"
#~ " 'auth_signup.allow_uninvited') != 'True' and\n"
#~ " not optional_products and website_sale_order and\n"
#~ " website_sale_order.website_order_line\n"
#~ " )"
#~ msgstr ""
#~ "(\n"
#~ "user_id != website.user_id or\n"
#~ "env['ir.config_parameter'].get_param(\n"
#~ "'auth_signup.allow_uninvited') != 'True' and\n"
#~ "not optional_products and website_sale_order and\n"
#~ "website_sale_order.website_order_line\n"
#~ ")"

#~ msgid "Log in and checkout"
#~ msgstr "Accedi e vai alla Cassa"

#~ msgid "Sign up and checkout"
#~ msgstr "Registrati e vai alla Cassa"
Loading