Re: [tryton-dev] Re-work of account_payment_sepa

2014-02-26 Thread Cédric Krier
On 24 Feb 19:06, Cédric Krier wrote: > Hi, > > I have uploaded a re-worked version of the module [1] because it seems > that some banks (who said thieves?) take fees based on the number of > payment information, so grouping the payment into many transaction lower > the cost. > I tried to make a fl

[tryton-dev] Selection function field with method to get selection dinamically

2014-02-26 Thread Jesús Martín Jiménez
Hi, I need to set dinamically the selection values of functional field of type selection. Something like that: selection = fields.Function(fields.Selection('get_selection', 'Value', states={ 'invisible': Eval('field_type') != 'selection', }, depend

Re: [tryton-dev] Selection function field with method to get selection dinamically

2014-02-26 Thread Sergi Almacellas Abellana
El 26/02/14 13:51, Jesús Martín Jiménez ha escrit: Hi, I need to set dinamically the selection values of functional field of type selection. Something like that: selection = fields.Function(fields.Selection('get_selection', 'Value', states={ 'invisible': Eval('

Re: [tryton-dev] Selection function field with method to get selection dinamically

2014-02-26 Thread Jesús Martín Jiménez
El miércoles, 26 de febrero de 2014 14:08:18 UTC+1, Sergi Almacellas Abellana escribió: > > El 26/02/14 13:51, Jesús Martín Jiménez ha escrit: > > Hi, > > > > I need to set dinamically the selection values of functional field of > > type selection. Something like that: > > > > selectio

Re: [tryton-dev] Selection function field with method to get selection dinamically

2014-02-26 Thread Cédric Krier
On 26 Feb 07:21, Jesús Martín Jiménez wrote: > I have a field related to the model ir.model.field, and when I select in > this field a field of type selection, I have to get the possible values of > that field to compute the selection values of this field. I mean, I need to > set dinamically the

Re: [tryton-dev] Selection function field with method to get selection dinamically

2014-02-26 Thread Jesús Martín Jiménez
El miércoles, 26 de febrero de 2014 16:46:20 UTC+1, Cédric Krier escribió: > > On 26 Feb 07:21, Jesús Martín Jiménez wrote: > > I have a field related to the model ir.model.field, and when I select in > > this field a field of type selection, I have to get the possible values > of > > that fi