* Ignacio Parszyk [2011-12-14 16:11 +0100]:
In the main form of the wizard, i've  text fields. Based on the on_change
functions of this fields, i need to populate the One2Many Field... is this
possible ?

Yes it is.

In an on_change you can modify a one2many you just need to return a
value that follows the 'protocol' of xxx2many. There is an exemple in
trytond/modules/account_statement/statement.py (look for
on_change_lines).

--
Nicolas Évrard

B2CK SPRL
rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
E-mail/Jabber: [email protected]
Website: http://www.b2ck.com/

--
[email protected] mailing list

Reply via email to