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

2014-11-21 Thread Jordi Esteve (Zikzakmedia)
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: record model=ir.action.act_window id=act_moves_of_shipment field

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: record

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: record model=ir.action.act_window

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

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

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: