Hi. Try the 'domain' property on the field 'by'.
Cheers. Mugoma, Yengas. [email protected] wrote: > I don't know, how to write "by" field in the model: > rendered_services (service:m2o(services), by:many2one > (depatments),qty:float,r_date,journal:m2o(clients_journal)) > The main trouble is that m2o "by" field must contain ids, that are > represented in "services" model in "allowed_to" field. > -------------------- m2f -------------------- > -- > http://www.openobject.com/forum/viewtopic.php?p=35390#35390 > -------------------- m2f -------------------- > _______________________________________________ > Tinyerp-users mailing list > http://tiny.be/mailman/listinfo/tinyerp-users _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
