How to return a readonly (or any other) field attribute from a on_change function?
In XML: <field name="field_a"/> <field name="field_b" on_change="on_change_function(field_a)"/> <field name="field_c"/> In Object: def on_change_function(self, cr, uid, ids, field_a, context={}): ... return {'value': { 'field_c': <some_value> }} # to return a value. return {???} # how to return a readonly attribute? Tnks! Gabriel C. Stabel -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=33393#33393 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
