On 14 Mar 11:36, Sergi Almacellas Abellana wrote:
> Hi,
> 
> I'm tring to add a One2Many function field that it's not related to
> any ModelSQL, it's only related to a ModelView. I know that the
> Function field must return the id of the target ids, so I'm wondering
> how can I return all the fields values for the target model in order
> to get the new instances created.

It makes no senses to have the getter method of Function field creating
instances.

On 14 Mar 11:39, Jean C wrote:
> Did you try returning a list of dictionaries ?

It only works for default values.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgpHEkRubuYFu.pgp
Description: PGP signature

Reply via email to