I need to restrict sales of certain products to a limited set of clients (who have presented legally required documentation to purchase these).
How can I achieve this?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I need to restrict sales of certain products to a limited set of clients (who have presented legally required documentation to purchase these).
How can I achieve this?
Well... you can do it if you feel comfortable developing with OpenERP. I would create a module that:
a) Creates a many2many relationship between product.product and res.partner
b) I would modify the res.partner view so the user is able to enter the allowed products he is able to purchase
c) I would modify either the onchange_product method, or the validate method in the sale.order object in order to validate the product the client is purchasing
Hope this helps
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
3
Eyl 25
|
264 | ||
|
3
Ağu 25
|
359 | ||
How to merge companies
Çözüldü
|
|
4
Ağu 25
|
1505 | |
Block sale.
Çözüldü
|
|
3
Ağu 25
|
536 | |
|
2
Ağu 25
|
628 |