Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

2

Can customers approve sales orders and quotations via the portal?

By
Pat Miller
on 6/18/16, 2:40 PM 1,297 views

I had a VM setup to test Odoo 9 a while back, and I could've sworn I had functionality where customers could log in, view their quotations/sales orders, and approve them. I might be wrong - is this possible?


Thanks for your help.

6

Fabrice Henrion (fhe)

--Fabrice Henrion (fhe)--
5813
| 7 7 8
San Francisco, United States
--Fabrice Henrion (fhe)--

Director Odoo USA

Fabrice Henrion (fhe)
On 6/19/16, 1:02 AM

Assuming v9e (this will be slightly different in v10e).

Just to make things clear in regard with the question: when a quotation is confirmed it becomes a sale order; it's the same document in 2 different statuses.

There are 2 use cases for a customer to confirm his quotation into a sale order and no matter which one you want to use you have to install the module website_quote which corresponds to the "Send online quotations based on templates (advanced)" setting. It will display a "Preview" or "View online quotation" button on your quotation and create an email template generating the button for when you send it to your prospect. The 2 use cases are defined by the following:


  1. If the first option displayed on the screenshot is selected, then only a signature will be required from the customer for the quotation to be confirmed into a sale order.

  2. If the second option displayed on the screenshot is selected, then a successful payment will be required from the customer for the quotation to be confirmed into a sale order. A successful payment means that the payment acquirer will send a call back to Odoo notifying that the payment was successful (this is done through the object payment.transaction).

A few remarks:

  • Just like for any external-facing document in Odoo, there is a public URL and a secret URL.
    The public URL requires the authorized user to be logged in to see the document and looks like this in the case of a quotation: http://yourodooserver.com/quote/13
    The secret URL does not require the user to be logged in to see the document and looks like this in the case of a quotation: http://yourodooserver.com/quote/13/b5c19a4a-e1bf-4198-b842-f7233b0cef52

  • Apart from the email that he would receive, the user can also access his quotation through the "My Account" section on your Odoo website (in the top right menu under his name) which is his portal with all his other related documents. If you don't install website_quote, the quotation will still be accessible but it will be a static page displaying the content and without the signature/payment capability and without any way for the user to confirm the quotation himself. The URL will then look like this: http://yourodooserver.com/my/orders/13

  • The reason why there is a public and secret URL is because depending on how you communicate with your prospect, you might need somone else in his company to access the quotation and confirm it. For example, if you send your prospect an email with the link, he might forward it to an Account Payable person who does not have a portal account on your website. This is why the email template uses the secret URL.

  • Even if you don't use Odoo as your website (CMS or eCommerce), installing website_quote will install the website module as well which only correspond to the frontend view of the quotation. So when I talk about "your Odoo website" above, what I mean is "the frontend view of your document located at http://yourodooserver.com".

  • It is necessary for a prospect to be a portal user in order to access the quotation via the public URL (since the access right is verified in that case). It is not necessary for a prospect to be a portal user in order to access the quotation via the secret URL. In the latter case, if the visitor take action (comment, rejection, signature, or payment) it will show as the "Public User" (ie. unidentified) in the backend.

This is perfect, and exactly what I was looking for. Thank you!

Pat Miller
on 6/19/16, 4:18 PM

@Fabrice. Prefect explanation, ThankQ.

deep
on 6/20/16, 3:22 AM
0
erpwebzilla
On 6/18/16, 4:35 PM

checked portal in user access right and select  see all lead for sale order 

The question is about quotations and sale orders, not leads and opportunities.

Fabrice Henrion (fhe)
on 6/19/16, 12:03 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 6/18/16, 2:40 PM
Seen: 1297 times
Last updated: 6/27/16, 7:41 AM