Odoo Help


show warning message if the selected product have a pricelist rules associated with

mohamed abdelwahed
on 5/9/13, 4:56 PM 765 views

hello community i want to show a warning message when i select a product in the invoice line and this product have a pricelist rules associated with it saying that if you bought x piece of this product you get 2 free piece for example i tried to change the product_id_change() in sale.py but i dont know how to get the pricelist rules associated with the selected product ,

sorry for my english , and any help will be appreciated ,thanks

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 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

1 follower(s)


Asked: 5/9/13, 4:56 PM
Seen: 765 times
Last updated: 3/16/15, 8:10 AM