[tryton-dev] Calling find method in scenario

2017-12-13 Thread Christophe (.net)
Hello, I try to calling 'find' method in a scenario with this piece of code: Period = Model.get('account.period') period = Period.find(company.id) and when i running the scenario the followikg error appear File "/home/ccr/Technique/tryton/ate-dev/trytond/trytond/modules/account_asset/tests/sc

[tryton-dev] Syntax in views

2015-12-10 Thread Christophe (net)
Hi, It seems that the following syntax for the 'states' attribute doesn't work in 3.8 : I would have missed something ? Regards -- Christophe -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit https:/

Re: [tryton-dev] Stopping all developments on Tryton

2015-12-04 Thread Christophe (net)
Le 04/12/2015 18:49, 'Korbinian Preisler' via tryton-dev a écrit : On 04.12.2015 16:37, Cédric Krier wrote: On 2015-12-03 04:50, Antonio Roncero wrote: El jueves, 3 de diciembre de 2015, 11:15:03 (UTC), Cédric Krier escribió: On 2015-12-03 11:55, Christophe (net) wrote: Le 03/

Re: [tryton-dev] Stopping all developments on Tryton

2015-12-03 Thread Christophe (net)
Le 03/12/2015 11:33, Cédric Krier a écrit : On 2015-11-24 19:21, Cédric Krier wrote: Hi, I'm going to stop all the developments on Tryton as far as this issue is not fixed: https://bitbucket.org/hpk42/tox/issues/285/tox-220-breaks-some-toxini-config-files We have no more any CI working so we c

[tryton-dev] Set language when init database.

2015-09-16 Thread Christophe (net)
Hi, when I init. an empty database with the following command: trytond -d --all the default language isn't set with the value in tryton's config file. Is there a way to set the default language when I init database. Regards. -- Christophe http://adiczion.com

Re: [tryton-dev] Get current value from class method.

2015-06-03 Thread Christophe (net)
Le 02/06/2015 15:42, Guillem Barba Domingo a écrit : 2015-05-30 9:59 GMT+02:00 Christophe (net) mailto:c...@adiczion.net>>: Le 28/05/2015 18:00, Marc Murray a écrit : On Thu, 2015-05-28 at 11:55 +0200, Christophe (net) wrote: Le 28/05/2015 11:46, Cédric Krier a

Re: [tryton-dev] Get current value from class method.

2015-05-30 Thread Christophe (net)
Le 28/05/2015 18:00, Marc Murray a écrit : On Thu, 2015-05-28 at 11:55 +0200, Christophe (net) wrote: Le 28/05/2015 11:46, Cédric Krier a écrit : On 28 May 11:10, Christophe (net) wrote: Le 28/05/2015 10:34, Cédric Krier a écrit : On 28 May 10:18, Christophe (net) wrote: Hello, I try to

Re: [tryton-dev] Get current value from class method.

2015-05-28 Thread Christophe (net)
Le 28/05/2015 12:30, Cédric Krier a écrit : On 28 May 11:55, Christophe (net) wrote: Le 28/05/2015 11:46, Cédric Krier a écrit : On 28 May 11:10, Christophe (net) wrote: Le 28/05/2015 10:34, Cédric Krier a écrit : On 28 May 10:18, Christophe (net) wrote: Hello, I try to find out when I

Re: [tryton-dev] Get current value from class method.

2015-05-28 Thread Christophe (net)
Le 28/05/2015 11:46, Cédric Krier a écrit : On 28 May 11:10, Christophe (net) wrote: Le 28/05/2015 10:34, Cédric Krier a écrit : On 28 May 10:18, Christophe (net) wrote: Hello, I try to find out when I create a new address on a party if this is the first or not. Depending on the answer it

Re: [tryton-dev] Get current value from class method.

2015-05-28 Thread Christophe (net)
Le 28/05/2015 10:34, Cédric Krier a écrit : On 28 May 10:18, Christophe (net) wrote: Hello, I try to find out when I create a new address on a party if this is the first or not. Depending on the answer it must set a boolean in the address object. I seek from the method of class 'default_

[tryton-dev] Get current value from class method.

2015-05-28 Thread Christophe (net)
Hello, I try to find out when I create a new address on a party if this is the first or not. Depending on the answer it must set a boolean in the address object. I seek from the method of class 'default_' has reached the values of current instance. There is a way to do that (I am in v3.0) ?

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 pos

[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] RFC: check stock quantity on sale

2015-05-14 Thread Christophe (net)
Le 14/05/2015 09:00, Cédric Krier a écrit : On 14 May 08:29, Christophe (net) wrote: Le 13/05/2015 17:46, Cédric Krier a écrit : Hi, I started a review for a new module sale_stock_quantity [1] See the description for a complete explaination of the behaviour. I have just one concern about a

Re: [tryton-dev] RFC: check stock quantity on sale

2015-05-13 Thread Christophe (net)
Hi, I think it's better to have an explicit option to avoid checking. Use different information (like suply delay) may not respond to the greatest possible number of cases. My 2 cents Regards Le 13/05/2015 17:46, Cédric Krier a écrit : Hi, I started a review for a new module sale_stock_qu

Re: [tryton-dev] Question on translation

2015-04-07 Thread Christophe (net)
Le 07/04/2015 20:12, Cédric Krier a écrit : On 07 Apr 19:49, Christophe (net) wrote: Le 07/04/2015 19:14, Cédric Krier a écrit : On 07 Apr 17:57, Christophe wrote: Hello, In a new module I defined a selection field whose elements are updated dynamically (by a method that returns tuples

Re: [tryton-dev] Question on translation

2015-04-07 Thread Christophe (net)
Le 07/04/2015 19:14, Cédric Krier a écrit : On 07 Apr 17:57, Christophe wrote: Hello, In a new module I defined a selection field whose elements are updated dynamically (by a method that returns tuples). I translate all fields in the module (including tuple of selection) but at the time of di

Re: [tryton-dev] Price list with tax included

2014-12-29 Thread Christophe (net)
Le 29/12/2014 16:52, Cédric Krier a écrit : Hi, I'm trying to solve a problem for price with tax included. Generally, when companies work this way they store the price with tax included on the product for example (could be the list price field). So the problem is how to make it works on the curr

Re: [tryton-dev] Remove constrainte

2014-12-09 Thread Christophe (net)
Le 09/12/2014 09:09, Guillem Barba Domingo a écrit : El 05/12/2014 16:50, "Christophe" mailto:c...@adiczion.com>> va escriure: > > Le 05/12/2014 16:16, Sergi Almacellas Abellana a écrit : > >> El 05/12/14 a les 15:41, Christophe ha escrit: >>> >>> Hello, >>> >>> Is there a way to remove

Re: [tryton-dev] Tax included in price for sale and invoice.

2014-01-21 Thread Christophe (net)
Le 20/01/2014 19:31, Cédric Krier a écrit : On 20 Jan 15:41, Christophe (net) wrote: Hi, I return to the subject of the sales price with tax included. I have carefully read the blue print and I have followed the discution with Cedric on TUB2013, the general idea had concensus was to define a

Re: [tryton-dev] Tax included in price for sale and invoice.

2014-01-20 Thread Christophe (net)
Le 20/01/2014 20:31, Cédric Krier a écrit : On 20 Jan 19:34, Christophe (net) wrote: That means that maybe your proposal it is hard it will be included in Tryton as is, but I'm still very interested in it. I do not think this module has now its place in the official version but if it can

Re: [tryton-dev] Tax included in price for sale and invoice.

2014-01-20 Thread Christophe (net)
Le 20/01/2014 19:11, Albert Cervera i Areny a écrit : 2014/1/20 Christophe (net) : Hi, I return to the subject of the sales price with tax included. I have carefully read the blue print and I have followed the discution with Cedric on TUB2013, the general idea had concensus was to define a

[tryton-dev] Tax included in price for sale and invoice.

2014-01-20 Thread Christophe (net)
Hi, I return to the subject of the sales price with tax included. I have carefully read the blue print and I have followed the discution with Cedric on TUB2013, the general idea had concensus was to define a object dedicated for these sales. If I agree with this idea, the implementation is hea

Re: [tryton-dev] Nereid and the payment.

2013-12-30 Thread Christophe (net)
Le 30/12/2013 21:50, Sergi Almacellas Abellana a écrit : El 30/12/13 08:22, Christophe (net) ha escrit: Hi I continue my tests with Nereid, I got to the payment stage and I'm a little confused, the module 'nereid_checkout' proposes a method '_process_payment' but em

[tryton-dev] Nereid and the payment.

2013-12-29 Thread Christophe (net)
Hi I continue my tests with Nereid, I got to the payment stage and I'm a little confused, the module 'nereid_checkout' proposes a method '_process_payment' but empty and there is a module 'nereid_payment'. What should I use for this operation? Regards. -- Christophe Adiczion Tél : +33.6.65.59

Re: [tryton-dev] Design of product view.

2013-12-27 Thread Christophe (net)
Le 26/12/2013 19:04, Cédric Krier a écrit : On 26 Dec 18:37, Christophe wrote: Hi, I saw more modules overload form view products, and each uses the description field as the basis for overload (stock_product_location, nereid_catalog, ...) and this generate some conflict. It should not if do

Re: [tryton-dev] Small questions about Tryton and Nereid

2013-09-22 Thread Christophe (net)
Le 16/09/2013 04:55, Sharoon Thomas a écrit : The module adds a context_processor [8] to the nereid template context. This means that the function `menu_for` would be available anywhere/anytime in the template context and calling it would call the method `nereid.cms.menu.menu_for` [9]. The usage