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...
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
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.
Hi Fabien, Please help me. I cant implement it.
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...
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.