Hi!
The situation is simple: there are 2 fields. An on_change method for field1 
changes the value of field2 and an attrs sets field2 readonly. Now if the 
object is saved, the client calls the write() method on the server but it 
doesn't ask it to save field2. So the result is that although the user saw the 
value of field2 change and he clicked on the save button, the changes would not 
be saved.
This is trunk version.
Is this behavior normal and what could be the solution? Putting object.write() 
in the on_change method would save the changes even if the user clicked on 
"don't save". So this is not the right way of solving this problem.

Thanks in advance,
Gábor




-------------------- m2f --------------------

--
http://www.openerp.com/forum/viewtopic.php?p=27183#27183

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to