Re: [tryton-dev] Apply domain in Many2One

2017-03-10 Thread Cédric Krier
On 2017-03-10 11:59, Sergi Almacellas Abellana wrote: > El 10/03/17 a les 11:30, Peter Müller ha escrit: > > > > Ok, got this know. May I ask, the drop down selection shows only the > > code. Is it possible to show other fields (name, etc) ? > Just remove the widget="selection" to use the default

Re: [tryton-dev] Apply domain in Many2One

2017-03-10 Thread Sergi Almacellas Abellana
El 10/03/17 a les 11:30, Peter Müller ha escrit: Ok, got this know. May I ask, the drop down selection shows only the code. Is it possible to show other fields (name, etc) ? Just remove the widget="selection" to use the default Many2ONe widget which provides this functionality. IIRC the selec

Re: [tryton-dev] Apply domain in Many2One

2017-03-10 Thread Peter Müller
Ok, got this know. May I ask, the drop down selection shows only the code. Is it possible to show other fields (name, etc) ? Thank you. El divendres, 10 març de 2017 10:00:07 UTC+1, Cédric Krier va escriure: > > > And what is not working? > For me, you have just forgot to add 'code' to depend

Re: [tryton-dev] Apply domain in Many2One

2017-03-10 Thread Cédric Krier
On 2017-03-10 00:19, Peter Müller wrote: > Hi, > > I try to put a reference from a party to a party. The referenced party will > be the party that will pay the invoices. > > The field on the form is made as widget="selection". > > I don't want that the user can select the same party as the refe

[tryton-dev] Apply domain in Many2One

2017-03-10 Thread Peter Müller
Hi, I try to put a reference from a party to a party. The referenced party will be the party that will pay the invoices. The field on the form is made as widget="selection". I don't want that the user can select the same party as the refernced party. So I want to apply the domain to show all p