I have a function on_change in a Treeview (editable="bottom"):
Product Name | Qty.(onchange) | Unit Cost(onchange) | Total (readonly)
Product1 | 3.00 | 512.00 | 1536.00
*The problem is when i try to save after on_change, the field [Total] which is a readonly gets cleared/disappear. Just found out that when you set it to readonly=False the value of [Total] remains.
*Is there any method to lock the field rather than setting it to readonly=True? *Or it's still a bug from OpenERP 6.1?
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
|Asked: 2/6/13, 10:18 PM|
|Seen: 1887 times|
|Last updated: 3/16/15, 8:10 AM|