Odoo Help


How to dynamically change the income account of a product in sales order?

on 5/27/13, 8:12 AM 775 views

Hi Dear Friends,

We define the income account and expense account in the product master for each product. Based on that only, the invoice and the transactions are recorded in the particular accounts. But, When I make a sales order with line items of some products, I want to dynamically change the income account of the product based on other input that I provide.

What I simply mean is that the transaction details will change dynamically based on some inputs in the sales order.

Is it possible?


Kevin McMenamin

--Kevin McMenamin--
Solnet Solutions Limited
| 5 2 6
Auckland, New Zealand
--Kevin McMenamin--
Kevin McMenamin
On 5/27/13, 10:56 PM

the account is not currently stored in the sales order line - it is generated with the invoice create process. So either - you do on the draft invoice; or - you create a module to enable you to enter the account and then override what is created in the invoice.

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

0 follower(s)


Asked: 5/27/13, 8:12 AM
Seen: 775 times
Last updated: 3/16/15, 8:10 AM