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.


Supplier in sales order form and select the product of the corresponding supplier?

on 4/5/13, 3:34 AM 1,358 views

I want to add suppliers in sale order form. And want to select the products of the corresponding supplier. How can i write the code? Thanks for any reply...

My requirement is::: I want to create a sale order. First i choose customer then i want to choose supplier. Next in the product dropdown list, only wants to see the products of the corresponding supplier.

on 4/5/13, 4:21 AM

Fabien Pinckaers (fp)

--Fabien Pinckaers (fp)--
| 6 8 8
fsdsdfsdf, Belgium
--Fabien Pinckaers (fp)--

Odoo Founder & CEO

Fabien Pinckaers (fp)
On 4/5/13, 4:03 AM

No need to write code for this.

You can use the conditionnal default values to define a default value (the order_lines) that depends on the supplier. You just need to activate the developer mode to define the default value.

I activate developer mode. What is the next step? Thanks for fast reply.

on 4/5/13, 4:18 AM

Hi Fabien, Please help me. I cant implement it.

on 4/5/13, 7:07 AM

Hi Fabien, Please help me to implement it. It will be more helpful to me. I have tried with onchange function but it happens nothing. My requirement is, when i select supplier in the sale order form, it will automatically shows the products of the corresponding supplier in the dropdown list of the product. Please help me. Thanks in Advance... Awaiting your kindly reply...

on 4/7/13, 10: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

0 follower(s)


Asked: 4/5/13, 3:34 AM
Seen: 1358 times
Last updated: 3/16/15, 8:10 AM