跳至内容
Odoo 菜单
  • 登录
  • 免费试用
  • 应用程序
    财务
    • 会计
    • 发票
    • 费用
    • 电子表格 (BI)
    • 文档
    • 电子签名
    销售
    • 客户关系管理
    • 销售
    • POS 销售点管理-零售
    • POS 销售点管理 - 餐厅
    • 订阅
    • 租赁
    网站
    • 网站设计
    • 电子商务
    • 博客
    • 论坛
    • 在线客服
    • 在线学习
    供应链
    • 库存
    • 制造
    • 产品生命周期
    • 采购
    • 维护保养
    • 品控
    人力资源
    • 员工
    • 招聘
    • 休假
    • 评价
    • 内部推荐
    • 车队
    营销
    • 社媒营销
    • 电邮营销
    • 短信营销
    • 近期活动
    • 营销自动化
    • 网上调查
    服务
    • 项目管理
    • 工时单
    • 现场服务
    • 服务台
    • 排期
    • 预约
    生产力
    • 讨论
    • 批核
    • IoT物联网
    • VoIP
    • 知识库
    • WhatsApp
    第三方应用软件 Odoo 定制 Odoo云端平台
  • 行业
    零售
    • 书店
    • 服装店
    • 家具店
    • 食品杂货店
    • 五金店
    • 玩具店
    餐饮与酒店服务
    • 酒吧及酒馆
    • 餐厅
    • 快餐
    • 民宿
    • 饮品分销商
    • 酒店
    房地产
    • 房地产代理
    • 建筑师事务所
    • 建造业
    • 地产管理
    • 园艺
    • 业主协会
    咨询
    • 会计师事务所
    • Odoo合作伙伴
    • 市场推广公司
    • 律师事务所
    • 人才招聘
    • 审核 & 认证
    制造
    • 纺织
    • 金属
    • 家具
    • 食品
    • 啤酒厂
    • 企业礼品
    保健与健身
    • 体育俱乐部
    • 眼镜店
    • 健身中心
    • 健康从业者
    • 药房
    • 发型屋
    商贸服务
    • 维修人员
    • IT 硬件及支持
    • 太阳能系统
    • 鞋匠
    • 清洁服务
    • 暖通空调服务
    其他
    • 非营利组织
    • 环境机构
    • 广告牌租赁
    • 摄影服务
    • 自行车租赁
    • 软件经销商
    浏览所有行业
  • 社区
    学习
    • 教学视频
    • 文档
    • 认证
    • 培训
    • 博客
    • 播客
    赋能教育
    • 教育计划
    • Scale Up! 商业游戏
    • 参观Odoo
    获取软件
    • 下载
    • 版本对比
    • 发布
    合作
    • Github
    • 论坛
    • 近期活动
    • 翻译
    • 成为合作伙伴
    • 合作伙伴服务
    • 注册您的会计事务所
    获取服务
    • 寻找合作伙伴
    • 查找会计服务
    • 预约顾问咨询
    • 安装及推行服务
    • 客户参考
    • 支持
    • 升级
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    获取演示
  • 定价
  • 技术支持

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

  • 客户关系管理
  • e-Commerce
  • 会计
  • 库存
  • PoS
  • 项目
  • MRP
All apps
只限注册用戶才可与社群互动。
所有帖文 人 徽章
标签 (查看所有)
odoo accounting v14 pos v15
关于此论坛区
只限注册用戶才可与社群互动。
所有帖文 人 徽章
标签 (查看所有)
odoo accounting v14 pos v15
关于此论坛区
帮助

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

订阅

此帖文有活动时,接收通知

此问题已终结
forumregisterblog
3 回复
15657 查看
形象
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
形象
丢弃
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
编写者

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
编写者

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
编写者

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

形象
Luke Branch
最佳答案

@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
形象
丢弃
Laurent
编写者

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
编写者

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

Laurent
编写者

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.

形象
Ben Bernard
最佳答案

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
形象
丢弃
Laurent
编写者

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.

形象
Vee
最佳答案

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
形象
丢弃
Laurent
编写者

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

喜欢讨论吗?不要只阅读,加入进来!

立即创建账户,享受专属功能,与我们的精彩社区互动!

注册
相关帖文 回复 查看 活动
I've built a site to help with the Perryton Tornado cleanup, and I need help/advice
forum blog
形象
0
7月 23
1595
Me falta la app de foro
forum
形象
0
2月 25
1672
my forum posts are not visible
forum
形象
形象
1
6月 24
2698
Odoo Forum | Accessrights 已解决
forum
形象
1
5月 24
2256
how can i remove "in" proposition from blog post footer?
blog
形象
形象
1
2月 24
2320
社区
  • 教学视频
  • 文档
  • 论坛
开源
  • 下载
  • Github
  • Runbot
  • 翻译
服务
  • Odoo.sh 托管
  • 支持
  • 升级
  • 自定义开发服务
  • 教育
  • 查找会计服务
  • 寻找合作伙伴
  • 成为合作伙伴
关于我们
  • 我们的公司
  • 品牌资产
  • 联系我们
  • 招聘
  • 近期活动
  • 播客
  • 博客
  • 客户
  • 法律 • 隐私
  • 安全
الْعَرَبيّة 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致力于为企业管理提供高效智能的开源解决方案,是全球业内高速成长的软件服务商之一,逾七百五十万用户选择Odoo进行数字化升级。通过一系列全业务链覆盖、高度集成、简单易用的商业应用,助力企业实现信息化改革、降本增效并释放公司增长潜力。

Odoo独特的价值在于是一款非常容易使用又完全集成的应用。

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