Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

How to log in using google account in odoo 8

Odoberať

Get notified when there's activity on this post

This question has been flagged
6 Replies
19305 Zobrazenia
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
Zrušiť
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
Best Answer

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
Zrušiť
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
Best Answer

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
Zrušiť
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
Best Answer

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
Zrušiť
Avatar
JA
Best Answer

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
Zrušiť
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrácia
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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