On 03 Oct 08:02, Mariano Ramon wrote:
> how do I enable the search in the view for a many2one field like the one 
> that shows by default in many2many?
> 
> I have Family and FamilyGroup
> Family has the many to one field. From the view of this entity I can select 
> which group.
> FamilyGroup has many families but it just lets me create new families from 
> the view. I Can't choose families I created before and have no group 
> assigned.

Use the add_remove attribute:
http://doc.tryton.org/3.2/trytond/doc/ref/models/fields.html?highlight=add_remove#trytond.model.fields.One2Many.add_remove

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

Attachment: pgp_6th0QCKtm.pgp
Description: PGP signature

Reply via email to