Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

How people can register to odoo blog or forum modules without going to odoo?

Odebírat

Get notified when there's activity on this post

This question has been flagged
forumregisterblog
3 Odpovědi
15640 Zobrazení
Avatar
Laurent

I have setup a server with odoo v8 and I am testing the odoo blog and forum modules. When I want to register as a fellow, I am redirected to the odoo.com domain, which is not acceptable nor professional nor respectful to my users since they want to register to my web site, not to odoo.com which appear as an alien.

Is it feasable without acking?

EDIT : additional information:

When I hover the Sign-in menu entry, I have: https://my-site.com/web/login
When I hover the register link, I have : https://my-site.com/web/signup
When I click the register link, it goes to : https://accounts.odoo.com/web/login?redirect=%2Foauth2%2Fauth%2F%3Fstate%3D%257B%2522p%2522%253A%2B1%252C%2B%2522r%2522%253A%2B%2522http%25253A%25252F%25252Fmy-site.com%25252Fweb%2522%252C%2B%2522d%2522%253A%2B%2522my-site%2522%257D%26redirect_uri%3Dhttp%253A%252F%252Fmy-site.com%252Fauth_oauth%252Fsignin%26response_type%3Dtoken%26client_id%3Dc57aad02-423d-11e4-98db-2fb386278206%26debug%3D1%26scope%3Duserinfo&mode=login&debug=1&scope=userinfo&login=&redirect_hostname=http%3A%2F%2Fmy-site.com

You can reach it here.

0
Avatar
Zrušit
Vee

Hi Laurent, Any other deatils you can provide? Demo data This isn't installed right? You company details filled in? Whats the redirect say for U? on yours.. So i mouse over "Register Button" this is what i get. http://localhost:8069/web?redirect=http://localhost:8069/forum/help-1 Well without any more info it hard to say. Keep us informed of your discoveries... cheers

Laurent
Autor

Hi Vee, I have added the links I have when I hover and when I click.

Luke Branch

@Laurent, Are you running on the hosted SaaS (ie. Odoo.com hosted), or a local install of Odoo (ie. on your own computer or server)? If you are running on a local install you can just uninstall the auth_oauth (OAuth2 Authentication) module, as this seems to redirect to Odoo.com for the signup. Then in order to allow external users to sign up you can go to Settings >> General Settings > Allow external users to sign up (just tick the box and then apply). This will create new users with the default 'Template User' access rights. If you want to create custom access rights you just need to create a user with the access rights you need and then use this in place of the Template User in General Settings.

Laurent
Autor

Auth module can be desactivated in Settings >> General Settings > Use tierce identification (my translation may not correspond to the original). It works, but I would have liked confirmation of signup by email. But this is another question.

Laurent
Autor

In addition, your solution disallows signup with facebook, twitter and google, which I would like to keep.

Avatar
Luke Branch
Nejlepší odpověď

@Laurent,

If you'd like to keep other OAuth providers but switch off Odoo.com signup you can just make sure that Settings >> General > Use external authentication providers, sign in with google, facebook, ... is ticked.

Then go to Settings >> OAuth Providers and find Odoo.com Accounts, click Edit and untick Allowed and save. This will allow you to add as many OAuth providers as you like for sign in, while keeping the Odoo.com default signup switched off.

You'll notice with Odoo.com Accounts OAuth method switched off you can go to yourdomain.com/web/signup and you'll have a standard (local) signup form. If you want to add other OAuth providers later you can do so.

If you have any issues with this (eg. after installation of another OAuth provider) please comment and explain the issues you have run into.

3
Avatar
Zrušit
Laurent
Autor

Looks great, but I don't have "Settings >> OAuth Providers". I have instead "Websites Settings" where I can precise my Twitter, Facebook, GitHub, LinkedIn, Youtube, Google+ Accounts, but not the Odoo one. I have a Git install positionned on release V8 dated September 18th, and commit #990d05e78dbac0bc8

Laurent
Autor

I have tried the last commit f3b3776128dca of November 7th. Still no "Settings >> OAuth Providers" nor "Odoo.com Accounts"

Laurent
Autor

Could you please precise your precise version, branch name, commit number?

Luke Branch

Hi Laurent, I update my development instance daily using the following steps: 0) BACKUP! Make sure your odoo filesystem and database is backed up before you make any changes. 1) sudo service odoo-server stop 2) sudo service postgresql stop 3) cd /opt/odoo/odoo-server 4) sudo git pull 5) sudo su odoo 6) cd /opt/odoo/odoo-server 7) ./openerp-server --update=all -c /etc/odoo-server.conf 8) .... wait a very long time for all modules in the database to update one by one until you can access the frontend of the website at your instances ip (eg. 192.168.1.100:8069) 9) Ctrl +C to cancel run of the openerp-server 10) exit (this will exit from the odoo user back to the normal user you logged in as) 11) sudo service postgresql start 12) sudo service odoo-server start If all goes well this should have updated your Odoo instance to the latest pull from github. In regards to not being able to see Settings >> OAuth Providers I think you may not have the 'Technical Settings' option ticked for your admin user. If it is un-ticked just tick it, save and then refresh the page and you should see a lot more technical features available for the admin user. Please also make sure you have Settings >> General Settings > Use external authentication providers, sign in with google, facebook ticked as well. Feel free to post back if you still can't see it.

Avatar
Ben Bernard
Nejlepší odpověď

I think you're using Odoo 8 beta / rc. This behaviour is removed in Odoo 8 stable. Please upgrade you code.

If you can't upgrade the code, try using disable_openerp_online (on branch 8.0) from this repo https://github.com/OCA/server-tools.

0
Avatar
Zrušit
Laurent
Autor

I am using branch 8.0, commit 990d05e78d tagged as [REL] Odoo 8.0. This is not beta as far as I can see. I tryed also the last commit 70b49a7608809 but the result is the same. Then I am going to try your solution.

Avatar
Vee
Nejlepší odpověď

H Laurent, i think it's to do with Module - OAuth : (auth_oauth). Please look thru this module.

Found this: auth_oauth_data.xml

        <record id="provider_openerp" model="auth.oauth.provider">
            <field name="name">Odoo.com Accounts</field>
            <field name="auth_endpoint">https://accounts.odoo.com/oauth2/auth</field>
            <field name="scope">userinfo</field>
            <field name="validation_endpoint">https://accounts.odoo.com/oauth2/tokeninfo</field>
            <field name="data_endpoint"></field>
            <field name="css_class">zocial openerp</field>
            <field name="body">Log in with Odoo.com</field>
            <field name="enabled" eval="True"/>
        </record>

Now you could remove this and leave the other in place if still required.

Now, I could be wrong here check it out, i take no liability too.

Let us know how your go.  Cheers

0
Avatar
Zrušit
Laurent
Autor

Your solution does not work. I did suppress this record, then check with grep -Rl "accounts.odoo.com" I also commented the redirects inside addons/web/static/src/js/chrome.js Of course, I restarted odoo-server, suppressed browser cache, but I am still redirected to accounts.odoo.com

Enjoying the discussion? Don't just read, join in!

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
I've built a site to help with the Perryton Tornado cleanup, and I need help/advice
forum blog
Avatar
0
čvc 23
1591
Me falta la app de foro
forum
Avatar
0
úno 25
1669
my forum posts are not visible
forum
Avatar
Avatar
1
čvn 24
2686
Odoo Forum | Accessrights Vyřešeno
forum
Avatar
1
kvě 24
2252
how can i remove "in" proposition from blog post footer?
blog
Avatar
Avatar
1
úno 24
2308
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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