Re: [tryton] Get the location of a product with Proteus - Tryton 2.8

2015-05-05 Thread Truckparts Hamburg COM
Am 04.05.2015 um 22:08 schrieb Udo Spallek: Mon, 04 May 2015 14:59:15 +0200 Truckparts Hamburg COM truckparts-hamb...@gmx.de: Am 04.05.2015 um 09:58 schrieb Cédric Krier: On 03 May 13:41, Truckparts Hamburg COM wrote: Am 02.05.2015 um 18:50 schrieb Cédric Krier: On 01 May 06:21, TPH wrote

Re: [tryton] Get the location of a product with Proteus - Tryton 2.8

2015-05-05 Thread Truckparts Hamburg COM
Am 05.05.2015 um 09:26 schrieb Cédric Krier: On 05 May 08:52, Truckparts Hamburg COM wrote: Am 04.05.2015 um 22:08 schrieb Udo Spallek: Mon, 04 May 2015 14:59:15 +0200 Truckparts Hamburg COM truckparts-hamb...@gmx.de: Am 04.05.2015 um 09:58 schrieb Cédric Krier: On 03 May 13:41, Truckparts

Re: [tryton] Get the location of a product with Proteus - Tryton 2.8

2015-05-04 Thread Truckparts Hamburg COM
Am 02.05.2015 um 18:50 schrieb Cédric Krier: On 01 May 06:21, TPH wrote: You need to set the product in context before find locations Product = Model.get('product.product') Location = Model.get('stock.location') (product,) = Product.find([('code', '=', product_code)])

Re: [tryton] Get the location of a product with Proteus - Tryton 2.8

2015-05-04 Thread Truckparts Hamburg COM
- Am 04.05.2015 um 09:58 schrieb Cédric Krier: On 03 May 13:41, Truckparts Hamburg COM wrote: Am 02.05.2015 um 18:50 schrieb Cédric Krier: On 01 May 06:21, TPH wrote: You need to set the product in context before find locations Product

Re: [tryton] Get product stock with proteus at specific date

2012-08-21 Thread Truckparts Hamburg COM
You can read it from the field quantity on product if you put in the context: - stock_date_end: default to today - locations: a list of location ids Thank you. Why is this not working?: stockdate = datetime.date(2012,1,1) config._context['stock_date_end'] = stockdate

Re: [tryton] Get product stock with proteus at specific date

2012-08-21 Thread Truckparts Hamburg COM
It should be something like that (untested): stockdate = datetime.date(2012, 1, 1) with Transaction().set_context(stock_date_end=stockdate): stock_2012_01_01 = product.quantity I tried this in different variants but can't get it work. -- -- tryton@googlegroups.com mailing list

Re: [tryton] Get product stock with proteus at specific date

2012-08-21 Thread Truckparts Hamburg COM
You must set the context before instanciating the record otherwise you can not know if it was not yet read before. That was the problem. Thank you very much. -- -- tryton@googlegroups.com mailing list

Re: [tryton] Creating Sale with Proteus and Tryton 2.4

2012-08-15 Thread Truckparts Hamburg COM
Are you sure to use proteus 2.4? Because it looks like if proteus was using the old double encoding for Decimal in XML-RPC which was removed in 2.4. Thank you very much, that was the reason. I was pretty sure last time I make this with code change so I only looked this way. best regard tph

Re: [tryton] Fill Default UOM for new product

2012-08-09 Thread Truckparts Hamburg COM
This is because you must also set 'default_uom_category' according to your 'default_uom'. I will try this - Thanks -- -- tryton@googlegroups.com mailing list

Re: [tryton] Changing Warehouse for Shipment after sale

2012-06-25 Thread Truckparts Hamburg COM
Because the system is about plannification. So you don't have to care of that if you correctly configure the system with order point to supply your warehouse. Otherwise, if you want to use any of your warehouse for sale than it is not warehouses but locations. Now I don't understand. I can't

Re: [tryton] Problems on new server

2012-06-25 Thread Truckparts Hamburg COM
I guess you have a Python with ipv6 support but not on the OS. You should fix one of it or just use 0.0.0.0 instead of * as listening address. Thanks you for this information. interface = 0.0.0.0 in /etc/tryton.conf solves this problem for me. -- -- tryton@googlegroups.com mailing list

Re: [tryton] Tryton start error after activate xml-rpc protocol

2012-06-22 Thread Truckparts Hamburg COM
Its working now, thank you. Am Freitag, den 22.06.2012, 09:35 +0200 schrieb Cédric Krier: On 21/06/12 20:40 +0200, Truckparts Hamburg COM wrote: I read already config in 2.4 /etc/ Thats why I used xmlport = *:8069 ssl_xmlrpc = False It is: xmlrpc = *:8069 PS: Please

Re: [tryton] Tryton start error after activate xml-rpc protocol

2012-06-21 Thread Truckparts Hamburg COM
I read already config in 2.4 /etc/ Thats why I used xmlport = *:8069 ssl_xmlrpc = False instead of xmlrpc = True xmlport = 8069 But Tryton still only listening on 8000. In conf of 2.4 I also read ssl_xmlrpc = ... But no mather if True or False is raise an error so what do you mean with

Re: [tryton] Auto-complete field like product code

2012-06-08 Thread Truckparts Hamburg COM
Am Freitag, den 08.06.2012, 09:55 +0200 schrieb Cédric Krier: On 07/06/12 11:54 -0700, TPH wrote: I searching for an option to set the product_code field in articles so there will be an auto-complete option like is is solved in Calc or Excel. When you write there an input you will get