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
b) ('childs', '=', []) => SQL syntax error (id = ())
c) ('childs', '=', [None]) => any record listed (when there are records
without childs)

there is another option or (a) or (b) is a bug?
-- 
Guillem Barba
http://www.guillem.alcarrer.net

Reply via email to