Thank's for you replay. But.. Domain propety can't call functions. Domain can be be used with other field on the form, but thisisn't help in this situation because we can't write domain=['by','in',some_field], where "some_field" is char field that contains [1,2,4] or other such value. Alas. I tried to use domians to solve my problem. This is not a good decision. I think, that problem may be solved if the id of current resurce can be get. Search function has view: fnc_search (self, cr, uid, context). It hasn't ids argument, so we can't know extractly which resoure was opened. If there is a possiblity to get ID of current resurce in serach function? this solve problem, because it's possible to write function that prepair result that can be used with selection fields or m2o with selection.
-------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=35397#35397 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
