Re: [tryton-dev] Defining a domain that evaluates a reference field

2014-11-21 Thread Cédric Krier
On 21 Nov 21:10, Jordi Esteve (Zikzakmedia) wrote: > Thanks for the help, I never have guested that using a a tuple ('model', id) > was the solution to search in a reference field. But it is documented: http://doc.tryton.org/3.4/trytond/doc/ref/models/fields.html?highlight=reference#trytond.model.

Re: [tryton-dev] Defining a domain that evaluates a reference field

2014-11-21 Thread Sergi Almacellas Abellana
El 21/11/14 a les 21:10, Jordi Esteve (Zikzakmedia) ha escrit: El 21/11/14 a les 18:35, Sergi Almacellas Abellana ha escrit: El 21/11/14 a les 18:29, Jordi Esteve (Zikzakmedia) ha escrit: How can I define a domain that evaluates a reference field? For example, if you want to create an action k

Re: [tryton-dev] Defining a domain that evaluates a reference field

2014-11-21 Thread Jordi Esteve (Zikzakmedia)
El 21/11/14 a les 18:35, Sergi Almacellas Abellana ha escrit: El 21/11/14 a les 18:29, Jordi Esteve (Zikzakmedia) ha escrit: How can I define a domain that evaluates a reference field? For example, if you want to create an action keyword to open the stock moves related to a shipment out, the ac

Re: [tryton-dev] Defining a domain that evaluates a reference field

2014-11-21 Thread Cédric Krier
On 21 Nov 18:29, Jordi Esteve (Zikzakmedia) wrote: > How can I define a domain that evaluates a reference field? > > For example, if you want to create an action keyword to open the stock moves > related to a shipment out, the action window could be: > > > Moves >

Re: [tryton-dev] Defining a domain that evaluates a reference field

2014-11-21 Thread Sergi Almacellas Abellana
El 21/11/14 a les 18:29, Jordi Esteve (Zikzakmedia) ha escrit: How can I define a domain that evaluates a reference field? For example, if you want to create an action keyword to open the stock moves related to a shipment out, the action window could be: Moves