Your first suggestion has been working on the stable version for quite a while already. You just have to use the "states" attribute on the field definition of the class.
The second one is on trunk (it's called "attrs") Regards, Pedro -------------------- m2f -------------------- -- http://www.openerp.com/forum/viewtopic.php?p=24094#24094 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
