跳至内容
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 to allow quotation requests (RFQ) from the eCommerce instead of direct sales

订阅

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

此问题已终结
sales
2 回复
1090 查看
形象
mksd

Hello community,

We are evaluating Odoo’s eCommerce and have a slightly different requirement from the standard direct sales flow.

Due to our commercial policy and the specific sectors we work with, we don’t have fixed prices, and our sales conditions vary depending on the customer, product, minimum quantities, etc.

Therefore, we cannot allow direct online purchases. Instead, we need users (whether registered or not) to request a quotation, which should be automatically recorded in the backend as a quotation or draft sales order pending commercial review.

I have been exploring some possible alternatives, but none of them fully fit our needs:

  • If we set website prices to 0 € and enable the “Prevent sales of zero-priced products” option, the “Add to Cart” button is replaced with “Contact Us”, but this only redirects to a generic contact form and does not create a quotation in the backend.
  • If we follow the standard eCommerce flow and simply don’t define a payment method, Odoo automatically generates a quotation instead of a confirmed order, which is close to what we want. However:
    • It would require displaying public prices (possibly 0 €), which is not acceptable for us commercially.
    • Also, all the eCommerce texts and buttons (“Add to cart”, “Proceed to checkout”, etc.) still refer to a purchase, not a quotation request, which can be confusing for users.

In summary, what we would like to achieve is:

  • The website should function as a catalog, where customers can select products and quantities.
  • When submitting their selection, a quotation is created in the backend (Sales > Quotations).
  • Ideally, the labels and texts throughout the process could be customized (e.g. “Request a quote” instead of “Buy”).

My questions:

  • Is there any native way or official module in Odoo to achieve this kind of flow?
  • Or would it require a custom development, e.g. modifying the cart/checkout behavior to generate quotations instead of sales orders?

Any guidance or experience with similar setups would be greatly appreciated 

Thank you in advance!

0
形象
丢弃
mksd
编写者

Thank you very much for your reply,

From what I understand, the proposed solution is based on replacing the "Add to Cart" flow entirely with a custom form that triggers a server action to create the quotation.

Just to confirm, in this approach, the quotation request would work for a single product per form submission, correct? Not multiple-products. 

I assume the product is not typed manually by the user. Do you envisage passing product_id from the product page to the form (e.g., via URL parameters and hidden fields) so the server action can create the correct quotation line automatically? Also, would the quantity be captured as a form field?

Thanks again for your guidance — I just want to be sure I fully understand the limitations before choosing the best direction.

mksd
编写者

Thank you very much for your detailed answer @Droniou Eloi

Regarding my progress: I still haven’t found the ideal solution, although I have been speaking with the developer of a module that might help cover part of the functionality. I’m still evaluating whether it fully meets our needs.

About the alternatives you proposed:

  • I also tested the option of hiding prices through CSS/SCSS. In my case, the main issue was that it hides the prices everywhere, including the customer portal. Since the portal is part of the same website, when a customer wants to review their past orders or access order information, prices are not displayed there either, which becomes a problem.

    By any chance, does the CSS you shared hide prices only on the shop pages, or does it also affect the portal in your setup? I wasn’t able to scope it only to the storefront without impacting the portal.

  • Duplicating the Wire Transfer payment method and renaming it to “Request Quotation” is another option I considered. However, as mentioned, I still need to ensure that prices are not shown at any point in the process, and that part is still unresolved on my side. Also, having to rely heavily on CSS modifications and many UI-level workarounds makes me hesitate, as it complicates maintenance and updates.

It would honestly be great if Odoo provided a more native alternative for this type of flow. Especially for B2B scenarios — which is exactly where an ERP like Odoo shines — it’s common to require a commercial validation step before confirming any sale. A proper “Request a Quote” eCommerce mode (independent from the abandoned cart feature or standard checkout) would cover a real use case for many companies.

Thanks again for sharing your approach. I’ll keep an eye on this thread in case someone has a solution to share and also share any progress I make.

Regards.

Droniou Eloi

Thank you very much for your feedback @mksd

We've checked on our website, and the CSS that we shared hide the prices on the shop pages (whether the customer is or isn't logged in their portal account), but prices are still shown on the portal, when a customer wants to review their past orders or access order information.

As for the Wire Transfer method, we've managed to hide prices at any point of the process on our website, as well as rewording most texts and labels referring to a payment. Our main blocking points on our website right now are as follows :
- We cannot edit the text of the "Pay now" button
- We cannot edit the "Payment Status" page because it only appears for a very, tiny, brief moment
- We cannot edit the URLs

We also struggle with the automated email that is sent after the user has confirmed their order. While we can edit the body's text and remove the PDF quote, we cannot remove the section above. It's problematic for us (and maybe for you ?) because this section is a link to the online version of the full quote with prices, and the total amount is also displayed right next to this link. So far, we haven't found a solution for this issue we have.

Lastly, you were talking about a module, offered by a developer, that might help cover part of the functionality. Is it compatible with Odoo Online ? Would you mind sharing some more information about the module ?

Regards,
Eloi.

mksd
编写者

Hi @Eloi,

Thanks for the feedback – Interesting, I’ll definitely give it a try when I have a moment.

Regarding the duplicated Wire Transfer payment method: I now fully understand the issues you’re facing. I hadn’t gone that deep into the flow yet, so I hadn’t realized the impact of the automatic email header. There should be some way to adjust or bypass that, but at least from the standard email template editor I also don’t see any option to remove that header section.

I’ve just tested as well, and indeed:

  • The “Pay now” button text cannot be changed via QWeb view (maybe translation?)

  • Same as the intermediate “Payment Status” page.

The module , unfortunately it’s not available for Odoo Online, and I haven’t tested it enough yet, so i don´t Know if it fits exactly our needs but you can find it on the Odoo App Store under the name “Website Get Quote Product” if you want to take a look.  

Regards.

形象
Droniou Eloi
最佳答案

Hello,

We have the same requirement as you, for our website.

1. We have solved the issue about hiding prices. Here are the details :

You might want to use the HTML/CSS editor in Odoo > Website > Site > HTML/CSS editor. From there, with the blue button in the top right corner, you can access the XML (for HTML), SCSS (for CSS) and JS files which can be edited (though editing and adding code you don't understand isn't recommended). For hiding prices we will go to SCSS (CSS).

For context, Cascading Style Sheets (CSS) is a style sheet language used for specifying the presentation and styling of document written in a markup language, such as HTML, which specifies the structure and formatting of a website. In Odoo's case, they use HTML (written in multiple XML files), with a CSS stylesheet (written in SCSS files). But why is it a SCSS file, and not CSS ? Because SCSS is a scripting language that uses CSS syntax ; so that we can use variables, if statements, and more. In short, HTML is the structure, CSS is the styling and SCSS makes writing CSS more convenient.

You will only use the SCSS file named "user_custom_rules", because it's made for us to add our own styling rules, in addition to the other SCSS files Odoo already use. This "user_custom_rules" file may already have content inside, but it won't be of any use for what you want to do with it.

In this SCSS file, you need to target HTML elements in order to specify presentation and styling rules for each. For that, you can target the element itself (<a>, <div>, <span>, etc.), its class, its id, and also a lot more parameters, but which are more rarely used than the first three we've just mentioned. Targeting the element itself isn't great, because you will target every of its instances on the entire website. Targeting it by its class(es) is better, but targeting it by its id is the best solution. You can also target several of these attributes at the same time.

You also need to use the developer tools of your web browser (for example, DevTools on Chrome). This will allow you to inspect the code (right-click, then select "Inspect") of any web page, and so this way you can see which HTML elements are used to display prices with Odoo, and then target them properly. When you hover an element in the inspector developer tool, it is highlighted in blue on the website. You can use this to see what element you would target. We would recommend you to target a section rather than a single element when necessary : for example, a price may be displayed in a dedicated section, which will be of no use if they aren't any price to be displayed inside, so it's better to hide the entire section rather than just the price ; of course, this isn't the case every time, but it's to accommodate the website's layout.

Here is the CSS ruleset we use (typing "//" at the start of a line lets you "hide" the content that comes after ; that way, you can leave comments in your code) :

// THIS SECTION IS FOR HIDING PRICES

// Here, we define a variable that we can reuse so as not to type "display: none !important" for every element we will target

$nodisplay: none !important; 
// "none" remove the content from the layout, rather than making it simply invisible
// "!important" prevents the rule from being overwrittent by another rule
// If you need to display the prices once again, then replace "none !important" by "unset" or "0"

// Hides the price section in the carousel of the homepage, if you use carousels as well

.o_wsale_product_sub.justify-content-between.gap-2 {
  display: $nodisplay;
}

// Hides the price section in the shop page (/shop)

.o_wsale_product_sub.d-flex.align-items-center.justify-content-between.flex-nowrap.gap-3 {
  display: $nodisplay;
}

// Hides the price & pricing sections in the product page (/shop/yourproductname)

.o_wsale_product_details_content_section.o_wsale_product_details_content_section_price.mb-4 {
  display: $nodisplay;
}

.o_wsale_product_details_content_section.o_wsale_product_details_content_section_rental_pricing.variant_attribute {
  display: $nodisplay;
}

// Hides the price section on the popup when adding a product to the cart

.col-3.d-flex.flex-column.align-items-end.gap-1 {
  display: $nodisplay;
}

// Fills the empty space left after hiding the price section on the popup

.col-6.d-flex.flex-column.align-items-start {
  width: 75%;
}

// Hides the price & pricing sections on the cart page (/shop/cart)

h6[name=website_sale_cart_line_price] {
  display: $nodisplay;
}

.text-muted.d-md-block.small {
  display: $nodisplay;
}

// Hides the price total and discount code section in the cart summary

.o_cart_total.o_checkout_cart_total.pt-2.pt-lg-0 {
  display: $nodisplay;
}

td[name=website_sale_cart_summary_line_price] {
  display: $nodisplay;
}

.o_cart_total.border-top.pt-2 {
  display: $nodisplay;
}

div[class="col my-3 text-break"] {
  display: $nodisplay;
}

div[class="col my-3 text-break o_payment_summary_separator"] {
  width: 100%;
}

// Hides the "Print" button on (/shop/confirmation)
// The "Print" button allows the user to download the quote, with prices inside a[title="Print"] {   display: $nodisplay; }

Lastly, an email is sent after the order is confirmed. Thankfully, you can access the email templates in Odoo > Settings > Email Templates and then search for "Sales : Payment Done". Once you're in the template, you can edit the text in "Body", and remove the PDF quote attachment in "Options". However, we haven't figured out a way to remove the "View Quotation" section above the body. We want to remove any quotation the user can have access to, because the prices are always displayed inside and we haven't figured a way to hide/remove them on a PDF.

2. We are working on a quotation request feature. Here are the details :

We've found a forum post from Ubai Salih, where the answer by Jaideep might be the solution you're looking for. In his answer to Ubai Salih's post, he says that it is possible to duplicate the payment provider Wire Transfer and rename it to "request quotation" or what have you.

Following their instructions, when a user is on a product page, they can still add any product (with a price already set above 0, of course) to their cart. They can then review their cart and proceed to enter their details, choose a delivery method, a payment method, and validate the order. However, even as we hid the prices, there are a lot of labels, texts, etc. that still refer to a purchase, and not a quotation request. Fortunately, you can also use CSS to hide some of these elements :

// THIS SECTION IS FOR HIDING PURCHASE RELATED ELEMENTS

// Hides the "Quick reorder" option on the cart page (/shop/cart)

.ms-3.border-start.ps-2 {
  display: $nodisplay;
}

// Hides the "Sign in" section on the address management page (/shop/address)

.o_address_signin.d-flex.d-md-block.justify-content-between.align-items-center.p-3.p-md-0.w-100.text-md-end {
  display: $nodisplay;
}

// Hides the "Delivery method" section on the checkout page (/shop/checkout or /shop/checkout?try_skip_step=true)

#o_delivery_form {
  display: $nodisplay;
}

// Hides the "Billing address" section on the checkout page (/shop/checkout or /shop/checkout?try_skip_step=true)

#billing_address_list {
  display: $nodisplay;
}

// Hides the "Payment method" section on the payment page (/shop/payment)

#o_payment_form {
  display: $nodisplay;
}

// Hides the "Sign Up" section on the order confirmation page (/shop/confirmation)

.alert.alert-info.mt-3 {
  display: $nodisplay;
}

// Hides the transfer details section on the order confirmation page (/shop/confirmation)

div[name=order_confirmation] {
  display: $nodisplay;
}

But some other elements are a bit too important to simply be hidden away, so you'll need to use the "Edit" button on Odoo Website. This way, you can edit most text content. However, there is one element, the "Pay now" button, that cannot be edited through this method as it seems to be tied with Odoo's backend code. We haven't found a solution for it yet.

The meta title of each page, and their URL, are also an issue, since they both refer to a purchase. You can edit the meta title of page via the HTML/CSS editor, in a tag like this :

<t t-set="additional_title">This is were the meta title is</t>

Usually, it is located on the default XML (HTML) displayed when you open the HTML/CSS editor. However, we cannot find the meta title tag of the shopping cart page. And unfortunately, for the URLs, we haven't found a solution to edit these yet, as they are hardcoded into Odoo's backend.

Hopefully, we can get an answer to our question on the other post we've mentioned earlier in this (long) answer. Otherwise, you and us can work together to make a working solution.


Have you made any progress since your post one month ago ?

Regards,

Eloi

0
形象
丢弃
形象
Cybrosys Techno Solutions Pvt.Ltd
最佳答案

Hi,


First, you need to disable the direct checkout functionality that is standard in Odoo eCommerce. The most direct way to do this is to remove or hide the "Add to Cart" button from your product pages. This can be done either through Odoo's website builder by editing the product page template or, for more advanced users, by modifying the website template's code.


Next, you should implement a "Request a Quote" functionality to replace the standard "Add to Cart" flow. This involves replacing the "Add to Cart" button with a "Request a Quote" button that links to a form. This form should collect all the necessary information from the user, such as the products they are interested in, the desired quantity, their contact details (if they aren't logged in), and any specific requirements or questions they might have. You can create this form using Odoo's built-in form builder or, if you need more customization, by creating a custom form.


Then, you'll want to automate the quotation creation process in the backend. To do this, create a server action that is triggered when a user submits the quotation request form. This server action should automatically create a new quotation in Odoo Sales, populate it with the information provided in the form (products, quantities, customer details), and assign the quotation to the appropriate salesperson. You should also configure an email notification to alert the salesperson when a new quotation request comes in.


Finally, pay attention to the user experience. Provide clear instructions on your website explaining how the quotation request process works. After a user submits a request, display a confirmation message to let them know that their request has been received and is being processed. You might also consider allowing users to create accounts so they can track the status of their quotation requests.


Hope it helps

0
形象
丢弃
喜欢讨论吗?不要只阅读,加入进来!

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

注册
相关帖文 回复 查看 活动
Is there a way to sell the same product both as a recurring subscription and as a one-time purchase?
sales
形象
形象
1
11月 25
272
Cannot make Sales Quotation to one Customer
sales
形象
形象
2
11月 25
469
Products Image
sales
形象
形象
2
10月 25
520
Edit the Sign & accept quotation button
sales
形象
0
10月 25
1481
SALES ORDER - UncaughtPromiseError > OwlError Uncaught Promise > An error occured in the owl lifecycle (see this Error's "cause" property)
sales
形象
形象
形象
3
10月 25
1130
社区
  • 教学视频
  • 文档
  • 论坛
开源
  • 下载
  • 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