Odoo Help


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.


How to set the default Sales Person for E-commerce orders instead of Administrator

on 6/29/15, 7:06 PM 772 views

After installing the odoo website_sale module, all orders created on the web-cart seem to be attributed to the sales person "Administrator".

Does anyone know if this can be changed or where? (I already tried setting the default sales person for this field in developer mode, but that only seems to affect orders created in the back-end)


Same here. We will look at this soon.

Pascal Tremblay
on 7/8/15, 5:19 AM
On 7/8/15, 9:09 AM

I got an answer through the community mailing list that helped.

(From Martin Trigaux)

In version 8, it should be the salesperson set on the partner creating the order. If there is no sales person, then it fallback on the administrator. If you wish to set another one, you should look into setting a default salesperson to the partners created.

In master version (future v9), it has changed and will now be the salesman specified on the website configuration.



Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 7/8/15, 7:01 AM


Techncally, you must override the sale_get_order() method written under the website_sale module and here you can manage to get the ID of the salesman.

Here, if you plan to set the salesman per company for your ecommerce store, you may add up the salesman field inside the company configuration.


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

1 follower(s)


Asked: 6/29/15, 7:06 PM
Seen: 772 times
Last updated: 7/8/15, 9:10 AM