Odoo Help


This community 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.


Change unit price of sale order after when it is confirmed

on 10/13/15, 7:35 AM 552 views

Hello, I have this situation: a customer purchases some products and then the company delivers it (so I create a stock movement and transfer it). When the customer goes to the company to pay the products, some of them changes the price; so I want to change the unit price of the products before creating the invoice but I can't because the SO is confirmed. I need to confirm the SO because I have to create a stock movement.

What can I solve this situation?   Thanks!    

Once Sale order is confirmed, it is impossible to change the unit price. Instead you can adjust that amount inside the Invoice.

Emipro Technologies Pvt. Ltd.
on 10/13/15, 8:18 AM

I inherited sale.py file in custom module and set that price_unit (only this field) is readonly=False. With this I can modify the price unit after than the SO is confirmed. Is there any problem doing this? Thanks for your reply!

on 10/13/15, 8:53 AM
Serge VERT
On 10/19/15, 2:56 AM

@José: Changing the readonly state of the sale order line plays against the selling process

When your custumer places the SO, the product has the "price 1", but when your customer pays his SO, the product has the "price 2".

On such circonstancies you have to change the price on the invoice (when the invoice is in "Draft" state), so you can keep track of the "changing prices" event. Much more, your customer could be angry to see that his SO has changed; keep in mind that a confirmed SO is like a contract between a customer and a seller (=> possible legal issue, depending on local laws)

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)


Asked: 10/13/15, 7:35 AM
Seen: 552 times
Last updated: 10/19/15, 3:02 AM