Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Sociale media-marketing
    • E-mailmarketing
    • Sms-marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

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

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

How to log in using google account in odoo 8

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
6 Antwoorden
19304 Weergaven
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
Annuleer
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
Beste antwoord

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
Annuleer
Vimesh Chaudhari
Auteur

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
Beste antwoord

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
Annuleer
Vimesh Chaudhari
Auteur

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
Beste antwoord

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
Annuleer
Avatar
JA
Beste antwoord

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
Annuleer
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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