Odoo Help


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

on 4/5/13, 3:34 AM 1,944 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

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 4/5/13, 3:34 AM
Seen: 1944 times
Last updated: 9/26/17, 12:18 AM