Required odoo solution to configure pricelist to customer id selected. Also Sales order should list only configured pricelist for the selected customer.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
It's a very simple workflow. And it works, as Ermin said.
- Sales / Product / Pricelists - Create a pricelist - Add the desired articles and its prices.
- Sales / Orders / Customers - Edit the customer and set the new pricelist in the tab "sales and purchase"
hii josep anton belchi riera, i think you didn't understand my query, what i want like in configuration of pricelist there should many2many filed to select customer so, in sales order that only customer can see that pricelist
With the workflow I explained, your pricelist will be selected by default. The users can change it manually.
Do you need users not to be able to change the proposed pricelist?
Hello Dhiraj,
I think you need based on customer select that relavants pricelist which is default bu you also need to in selection only that customer related pricelist.
If you want this, yes so inherit partner_id onchange methods and add domain for pricelist fields
Update answer:you need to customize pricelist model and add partner_id fields.
Then in sale order form inherit partner onchange methods and add domain like this
return { 'pricelist_id':[('partner_id','=',self.partner_id.id)]}
Check above if useful
yes i done that, but not working, can you give a solution for domain ?
Update answer:you need to customize pricelist model and add partner_id fields.
Then in sale order form inherit partner onchange methods and add domain like this
return { 'pricelist_id':[('partner_id','=',self.partner_id.id)]}
Check above if useful
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
3
Sep 25
|
2778 | ||
|
0
Aug 25
|
379 | ||
|
1
Aug 25
|
2451 | ||
|
2
Jul 25
|
8201 | ||
|
2
Jul 25
|
4628 |
This is basic Odoo functionality. What is your question?
i think no, in basic functionality there is no option to select the customer id when we set pricelist
You can define a pricelist and assign it to a particular customer.
ya i done that but, it's not working