Odoo Help


How to check if line in sales order does not have Cost price higher than Unit price?

on 1/27/15, 8:26 AM 1,117 views

Is there any way how to check during confirming sales order if Unit price of any item is lower that Cost price?  We are using Odoo V8.

Thanks for any advice

Timothy Verellen
On 1/27/15, 8:42 AM


You may want to look into the module 'Margins in Sales Orders'. This module allows you to check the cost price next to the unit price on ever sale order line. It will also calculate the total sale margin of every sale order.


If you already use this module then I guess the standard Odoo functionalities can't match your requirements. I recomment you contact an Odoo partner (unless you're a partner yourself of course) and have some small customization done.

On 1/28/15, 12:04 AM

Thanks Timoty, I already have this module installed and is working as you write above. I am just wondering if there is any way to check it automatically (pop-up window with information for example). Our ordes sometimes have 100+ items and its easy to make a mistake.  


What you can do is to develop an on_change mechanism that if the Unit price is changed, then do a validation and prompt a warning.

on 1/28/15, 5:29 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

1 follower(s)


Asked: 1/27/15, 8:26 AM
Seen: 1117 times
Last updated: 3/16/15, 8:10 AM