Quantcast
Channel: OpenERP Help - Individual question feed
Viewing all articles
Browse latest Browse all 68

on_change function in a Treeview

$
0
0
I have a function on_change in a Treeview (editable="bottom"): Example: Product Name | Qty.(on_change) | Unit Cost(on_change) | 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?

Viewing all articles
Browse latest Browse all 68

Trending Articles