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 am unable to update the amound in my custom product costing module as the button UPDATE AMOUNT(calculate price)
is by default disabled.
If I save the product item and then go to that form, It is clickable, means then I can change the amount of different fields and can update total by clicking that button.
Is there a way to have that button to update my TOTAL field by clicking the button?
How to get that button active while creating the PRODUCT ITEM? and can alter the field values and check them by Clicking UPDATE AMOUNT (calculation) button?
Button will become active (i.e clickable) only for saved records (i.e records having id) in child forms... so one cannot make it visible or make it do the funtionality untill and unless the record is saved...
Alternate option, use onchange_event to serve your purpose... In that way, event will return calculated amount for Total field, and finally when you save the record, your evaluation method will recompute and proceed with things ....
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/8/14, 2:47 AM|
|Seen: 1233 times|
|Last updated: 3/16/15, 8:10 AM|