Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I need to be able to create orders with inlines that have a different subtotal than the price unit * quantity. In my situation, very often the final price of one item is the result of a bargain and not a multiplication factor of the unit price.
Is there a way to set the subtotal of one product to a custom value (for instance from the cost price field)? If possible, I'd like to use a solution that doesn't need custom development and that would be could be compatible with future Odoo versions.
I'm using Odoo 8.
dear Gourry Gabrief;
The subtotal field is computed fields that means user can not edit and change it's value. I think if you need to manual enter value on the subtotal field that is impossible but i recommend you to add another float field and put it on view then override the subtotal function to get the value from your new field. I think this will solve your problem.
I hope I helped you...
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 9/24/16, 3:24 PM|
|Seen: 290 times|
|Last updated: 9/25/16, 4:36 AM|