Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • e-learning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Conocimientos
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Cervecería
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y soporte técnico
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Explorar todos los sectores
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Servicios para partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

How to log in using google account in odoo 8

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
6 Respuestas
19293 Vistas
Avatar
Vimesh Chaudhari

Important: Make sure Odoo is correctly configured to send email before starting this tutorial. Odoo will need to email an activation link when you enable OAUTH.
So, let’s get started.


Enabling OAuth Support in Odoo
1. Login to Odoo as the Administrator 
2. Browse to Settings -> Configuration -> General Settings:
3.  □ Allow external users to sign up ->check this
4. Template user for new users created through signup must be Template User.


Enabling Google App Engine Admin Console
1. Browse to https://admin.google.com and login as the Google domain adminstrator 
2. Click More Controls at the bottom of the page 
3. Click More Google Apps 
4. Click the X next to Filter: Top featured services to clear the filter 
5. Scroll down the list and click Google App Engine Admin Console 
6. Turn it ON for everyone 


Create Google Apps OAuth2 access for Odoo
1. Browse to https://console.developers.google.com/project and if necessary login 
2. Click Create Project 
3. In Project Name enter whatever you want, e.g. odoo
4. Click Create 
5. In the menu on the left, expand APIs & auth then click Credentials 
6. Click Create new Client ID 
7. Under Authorized JavaScript origins enter your server domain name, e.g. http://mydomain.com 
8. Under Authorized redirect URI enter you domain plus the OAUTH path, e.g. http://mydomain.com/auth_oauth/signin 
9. Click Create client ID 
10. In the menu click Consent screen 
11. Select an email address from the drop down menu 
12. In Product Name enter a description, e.g. odoo
13. Click Save 
14. In the menu click Credentials and leave the browser window open 


Add Google OAuth2 credentials to Odoo
1. Login to Odoo as the Administrator 
2. Browse to Settings -> OAuth Providers 

Note : If you don't found OAuth Providers, Please go to General Settings and check the checkbox of Use external authentication providers of authentication.

3. Click Odoo.com Accounts to open the settings window 
4. Click Edit then uncheck the Allowed checkbox 
5. Click Save then click Providers to return to the list 
6. Click Google OAuth2 to open the settings window 
7. Click Edit 
8. From the Google Developers Console, copy and paste the Client ID into the box in Odoo 
9. Check the Allowed checkbox 
10. Click Save 

6
Avatar
Descartar
Mohit Kotak (MK)

Good Explaination..!

Jeel Khanpara

when i select database and click to login with google it shows Error Access Denied. don't allow to login with email id and password. also question is login with google allow to directly login with email and password or user need to first sign up and then user can login?

Avatar
JA
Mejor respuesta

Following this, gives you the option to use googleauth. The problem is that if you select this option, users who dont have a google account, do not have access to register without google. 

It would be nice, if both options could be used. With Google, facebook or just regular template user.

0
Avatar
Descartar
Vimesh Chaudhari
Autor

Hello JA, In odoo authentication your need is already satisfied. To use both the options like sign up with template user or google user you have to just got to Setting->General Settings and check checkbox Allow external users to sign up in Portal access.

Avatar
tazus
Mejor respuesta

In this program, I have one problem when using https:// as default protocol, the "request.httprequest.url_root" from controllers/main.py sending out http:// return_uri, so, the program keep said it "Error: redirect_uri_mismatch" error. So, what can be done? I try to modified the main.py to use "web.base.url" but keep getting the following error:

File "/opt/odoo/addons/bus/bus.py", line 188, in poll

raise Exception("bus.Bus unavailable")"

And the system was lock at 500 error.

So, anyone can share the possible solution will be appreciated.

0
Avatar
Descartar
Vimesh Chaudhari
Autor

Are you running your odoo instance using odoo.py or in openerp-gevent mode or openerp-server mode? If you are using openerp-server mode, Please try running server using odoo.py Please check the odoo dependencies installation.

Avatar
Min Wai Chan
Mejor respuesta

I think there are some mistake on this line.

Under Authorized redirect URI enter you domain plus the

OAUTH path, e.g. http://mydomain.com/auth_oauth/signin

Should change to

http://mydomain.com/openerp.wsgi/auth_oauth/signin

At least that is how I got it working on odoo 8

0
Avatar
Descartar
Avatar
JA
Mejor respuesta

Following this, gives you the option to use googleauth. The problem is that if you select this option, users who dont have a google account, do not have access to register without google. 

It would be nice, if both options could be used. With Google, facebook or just regular template user.

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now