[tryton-dev] get_singleton() vs. Config(1)

2015-05-16 Thread Udo Spallek
Hi, in [1][2] we introduce a ``get_singleton()`` method for Singelton models. In the modules we always use a patter like this:: Config = pool.get('xxx.configuration') config = Config(1) or Configuration = pool.get('xxx.configuration') config = Configuration(1) instead of::

[tryton-dev] Replace property field by function field

2015-05-16 Thread Christophe (net)
Hi, I need to override a property field by a function field. All seems all right but when i call the field my function isn't call. It seems that it is still the old definition that is called. Is it possible to make it in 3.4 ? Regards -- Christophe http://adiczion.com

Re: [tryton-dev] get_singleton() vs. Config(1)

2015-05-16 Thread Cédric Krier
On 16 May 14:20, Udo Spallek wrote: > Hi, > > in [1][2] we introduce a ``get_singleton()`` method for Singelton > models. > In the modules we always use a patter like this:: > > Config = pool.get('xxx.configuration') > config = Config(1) > > or > > Configuration = pool.get('xxx.co

Re: [tryton-dev] Replace property field by function field

2015-05-16 Thread Cédric Krier
On 16 May 19:14, Christophe (net) wrote: > Hi, > > I need to override a property field by a function field. All seems all right > but when i call the field my function isn't call. It seems that it is still > the old definition that is called. > Is it possible to make it in 3.4 ? This is really no

Re: [tryton-dev] Replace property field by function field

2015-05-16 Thread Christophe (net)
Le 16/05/2015 20:41, Cédric Krier a écrit : On 16 May 19:14, Christophe (net) wrote: Hi, I need to override a property field by a function field. All seems all right but when i call the field my function isn't call. It seems that it is still the old definition that is called. Is it possible t

Re: [tryton-dev] get_singleton() vs. Config(1)

2015-05-16 Thread Cédric Krier
On 16 May 20:39, Cédric Krier wrote: > On 16 May 14:20, Udo Spallek wrote: > > Hi, > > > > in [1][2] we introduce a ``get_singleton()`` method for Singelton > > models. > > In the modules we always use a patter like this:: > > > > Config = pool.get('xxx.configuration') > > config = Confi

[tryton-dev] Un-assigned Tryton issue tracker requests

2015-05-16 Thread Tryton issue tracker
Created ID Activity Title === bug 1 week ago 4740 1 week ago tryton doesn't find icons on Ubuntu bug 2 months ago 4643 1 month ago 'NoneType' object has no attribute 'on ... bug 2 months ago 4603