2014-09-29 11:58 GMT+02:00 Cédric Krier <cedric.kr...@b2ck.com>: > On 29 Sep 11:41, Guillem Barba Domingo wrote: > > Hi, > > I have a little model with a "childs" One2Many field, and in another > model > > I have a Many2One to that where it's forbidden to select elements with > > childs. > > which domain I have to put to filter records that has a One2Many field? > > > > I tried these domains with these results: > > a) ('childs', '=', None) => it raises a "NoneType is not iterable" error > > This should work. >
it works :-? I suppose the error was in another side. sorry for the noise. -- Guillem Barba http://www.guillem.alcarrer.net