Hi,

2015-06-24 23:56 GMT+02:00 <[email protected]>:

> Hello,
>
> is it possible to get the values of the records of a Many2One field?
> I tried to iterate but this didn't work (TypeError: 'Many2One' object is
> not iterable)
>

This is because M2O field is a single record and in order to iterate you
need a collection of fields. With O2M or M2M would work.

-- 

Jesús Martín

Zikzakmedia SL
C/ de Sant Jaume, 9, baixos, 2ª
08720 Vilafranca del Penedès
☏ 93 890 21 08

Reply via email to