Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

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

Subscriure's

Get notified when there's activity on this post

This question has been flagged
forumregisterblog
3 Respostes
15663 Vistes
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
Descartar
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
Best Answer

@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
Descartar
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
Best Answer

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
Descartar
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
Best Answer

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
Descartar
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!

Registrar-se
Related Posts Respostes Vistes Activitat
I've built a site to help with the Perryton Tornado cleanup, and I need help/advice
forum blog
Avatar
0
de jul. 23
1596
Me falta la app de foro
forum
Avatar
0
de febr. 25
1673
my forum posts are not visible
forum
Avatar
Avatar
1
de juny 24
2700
Odoo Forum | Accessrights Solved
forum
Avatar
1
de maig 24
2257
how can i remove "in" proposition from blog post footer?
blog
Avatar
Avatar
1
de febr. 24
2325
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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