Re: [tryton-dev] Lot Management

2013-07-21 Thread Albert Cervera i Areny
A Diumenge 21 Juliol 2013 14:38:15, Cédric Krier va escriure: > On 21/07/13 01:38 +0200, Albert Cervera i Areny wrote: > > A Divendres 27 Gener 2012 11:12:50, Cédric Krier va escriure: > > > On 27/01/12 10:49 +0100, Albert Cervera i Areny wrote: > > > > A Divendres, 27 de gener de 2012 10:12:17,

Re: [tryton-dev] Lot Management

2013-07-21 Thread Cédric Krier
On 21/07/13 01:38 +0200, Albert Cervera i Areny wrote: > A Divendres 27 Gener 2012 11:12:50, Cédric Krier va escriure: > > On 27/01/12 10:49 +0100, Albert Cervera i Areny wrote: > > > A Divendres, 27 de gener de 2012 10:12:17, Cédric Krier va escriure: > > > > > I agree it gives a bad UX. At the

Re: [tryton-dev] Lot Management

2013-07-20 Thread Albert Cervera i Areny
A Divendres 27 Gener 2012 11:12:50, Cédric Krier va escriure: > On 27/01/12 10:49 +0100, Albert Cervera i Areny wrote: > > A Divendres, 27 de gener de 2012 10:12:17, Cédric Krier va escriure: > > > > I agree it gives a bad UX. At the same time, I must admit that when > > > > working with serial

Re: [tryton-dev] Lot Management

2012-01-27 Thread Cédric Krier
On 27/01/12 10:49 +0100, Albert Cervera i Areny wrote: > A Divendres, 27 de gener de 2012 10:12:17, Cédric Krier va escriure: > > > I agree it gives a bad UX. At the same time, I must admit that when > > > working with serial numbers, splitting the lines can also be > > > cumbersome. We've got a c

Re: [tryton-dev] Lot Management

2012-01-27 Thread Albert Cervera i Areny
A Divendres, 27 de gener de 2012 10:12:17, Cédric Krier va escriure: > > I agree it gives a bad UX. At the same time, I must admit that when > > working with serial numbers, splitting the lines can also be > > cumbersome. We've got a customer that can create a production of more > > than a thousan

Re: [tryton-dev] Lot Management

2012-01-27 Thread Cédric Krier
On 27/01/12 08:40 +0100, Albert Cervera i Areny wrote: > A Dijous, 26 de gener de 2012 15:16:06, Cédric Krier va escriure: > > On 26/01/12 08:35 -0500, Sharoon Thomas wrote: > > > On Jan 26, 2012, at 7:53 AM, Cédric Krier wrote: > > > > I think lot management is just about information and nothing m

Re: [tryton-dev] Lot Management

2012-01-26 Thread Albert Cervera i Areny
A Dijous, 26 de gener de 2012 15:16:06, Cédric Krier va escriure: > On 26/01/12 08:35 -0500, Sharoon Thomas wrote: > > On Jan 26, 2012, at 7:53 AM, Cédric Krier wrote: > > > I think lot management is just about information and nothing more. > > > All cases, where people think they can be solved by

Re: [tryton-dev] Lot Management

2012-01-26 Thread Cédric Krier
On 26/01/12 08:35 -0500, Sharoon Thomas wrote: > On Jan 26, 2012, at 7:53 AM, Cédric Krier wrote: > > > > > I think lot management is just about information and nothing more. > > All cases, where people think they can be solved by using restrictive lot > > management, can be solved differently. >

Re: [tryton-dev] Lot Management

2012-01-26 Thread Cédric Krier
On 26/01/12 14:11 +0100, Albert Cervera i Areny wrote: > A Dijous, 26 de gener de 2012 13:53:34, Cédric Krier va escriure: > > On 26/01/12 13:50 +0100, Bertrand Chenal wrote: > > > Le Thu, 26 Jan 2012 13:33:55 +0100, > > > > > > Cédric Krier a écrit : > > > > On 26/01/12 13:26 +0100, Albert Cerve

Re: [tryton-dev] Lot Management

2012-01-26 Thread Sharoon Thomas
On Jan 26, 2012, at 7:53 AM, Cédric Krier wrote: > > I think lot management is just about information and nothing more. > All cases, where people think they can be solved by using restrictive lot > management, can be solved differently. > I agree with cedk here and the basic module should just

Re: [tryton-dev] Lot Management

2012-01-26 Thread Albert Cervera i Areny
A Dijous, 26 de gener de 2012 13:53:34, Cédric Krier va escriure: > On 26/01/12 13:50 +0100, Bertrand Chenal wrote: > > Le Thu, 26 Jan 2012 13:33:55 +0100, > > > > Cédric Krier a écrit : > > > On 26/01/12 13:26 +0100, Albert Cervera i Areny wrote: > > > > A Dijous, 26 de gener de 2012 13:24:44, C

Re: [tryton-dev] Lot Management

2012-01-26 Thread Cédric Krier
On 26/01/12 13:50 +0100, Bertrand Chenal wrote: > Le Thu, 26 Jan 2012 13:33:55 +0100, > Cédric Krier a écrit : > > > On 26/01/12 13:26 +0100, Albert Cervera i Areny wrote: > > > A Dijous, 26 de gener de 2012 13:24:44, Cédric Krier va escriure: > > > > > I agree that caching per location and per l

Re: [tryton-dev] Lot Management

2012-01-26 Thread Bertrand Chenal
Le Thu, 26 Jan 2012 13:33:55 +0100, Cédric Krier a écrit : > On 26/01/12 13:26 +0100, Albert Cervera i Areny wrote: > > A Dijous, 26 de gener de 2012 13:24:44, Cédric Krier va escriure: > > > > I agree that caching per location and per lot is not a good > > > > idea. > > > > > > > > So, new propo

Re: [tryton-dev] Lot Management

2012-01-26 Thread Albert Cervera i Areny
A Dijous, 26 de gener de 2012 13:33:55, Cédric Krier va escriure: > On 26/01/12 13:26 +0100, Albert Cervera i Areny wrote: > > A Dijous, 26 de gener de 2012 13:24:44, Cédric Krier va escriure: > > > > I agree that caching per location and per lot is not a good idea. > > > > > > > > So, new proposa

Re: [tryton-dev] Lot Management

2012-01-26 Thread Cédric Krier
On 26/01/12 13:26 +0100, Albert Cervera i Areny wrote: > A Dijous, 26 de gener de 2012 13:24:44, Cédric Krier va escriure: > > > I agree that caching per location and per lot is not a good idea. > > > > > > So, new proposal: > > > > > > > > > a naive product_by_lot function will be slow, so we nee

Re: [tryton-dev] Lot Management

2012-01-26 Thread Albert Cervera i Areny
A Dijous, 26 de gener de 2012 13:24:44, Cédric Krier va escriure: > > I agree that caching per location and per lot is not a good idea. > > > > So, new proposal: > > > > > > a naive product_by_lot function will be slow, so we need caching. As > > lots are a bit like temporary locations, > > If so

Re: [tryton-dev] Lot Management

2012-01-26 Thread Cédric Krier
On 26/01/12 13:10 +0100, Bertrand Chenal wrote: > Le Thu, 26 Jan 2012 11:28:21 +0100, > Cédric Krier a écrit : > > > On 25/01/12 14:43 +0100, Bertrand Chenal wrote: > > > Le Wed, 25 Jan 2012 13:45:25 +0100, > > > Cédric Krier a écrit : > > > > Also I think such behavior will be very resource c

Re: [tryton-dev] Lot Management

2012-01-26 Thread Bertrand Chenal
Le Thu, 26 Jan 2012 11:28:21 +0100, Cédric Krier a écrit : > On 25/01/12 14:43 +0100, Bertrand Chenal wrote: > > Le Wed, 25 Jan 2012 13:45:25 +0100, > > Cédric Krier a écrit : > > > Also I think such behavior will be very resource consuming. > > > > I'm not sure but I think it's just a matter

Re: [tryton-dev] Lot Management

2012-01-26 Thread Albert Cervera i Areny
A Dijous, 26 de gener de 2012 11:23:14, Cédric Krier va escriure: > On 26/01/12 10:58 +0100, Albert Cervera i Areny wrote: > > A Dijous, 26 de gener de 2012 09:41:07, Cédric Krier va escriure: > > > > It is not. For example, in several of our customers, if the purchased > > > > product has a lot n

Re: [tryton-dev] Lot Management

2012-01-26 Thread Cédric Krier
On 25/01/12 14:43 +0100, Bertrand Chenal wrote: > Le Wed, 25 Jan 2012 13:45:25 +0100, > Cédric Krier a écrit : > > Also I think such behavior will be very resource consuming. > > I'm not sure but I think it's just a matter of changing > > GROUP BY to_location, product > > to > > GROUP BY

Re: [tryton-dev] Lot Management

2012-01-26 Thread Cédric Krier
On 26/01/12 10:58 +0100, Albert Cervera i Areny wrote: > A Dijous, 26 de gener de 2012 09:41:07, Cédric Krier va escriure: > > > It is not. For example, in several of our customers, if the purchased > > > product has a lot number, that is introduced manually by the user but > > > the system create

Re: [tryton-dev] Lot Management

2012-01-26 Thread Albert Cervera i Areny
A Dijous, 26 de gener de 2012 09:41:07, Cédric Krier va escriure: > > It is not. For example, in several of our customers, if the purchased > > product has a lot number, that is introduced manually by the user but > > the system creates a new lot number and that is attached with a label to > > the

Re: [tryton-dev] Lot Management

2012-01-26 Thread Cédric Krier
On 26/01/12 08:19 +0100, Albert Cervera i Areny wrote: > A Dijous, 26 de gener de 2012 00:54:21, Cédric Krier va escriure: > > On 25/01/12 19:52 +0100, Albert Cervera i Areny wrote: > > > A Dimecres, 25 de gener de 2012 14:17:35, Cédric Krier va escriure: > > > > > I think it should. Of course, we

Re: [tryton-dev] Lot Management

2012-01-25 Thread Albert Cervera i Areny
A Dijous, 26 de gener de 2012 00:54:21, Cédric Krier va escriure: > On 25/01/12 19:52 +0100, Albert Cervera i Areny wrote: > > A Dimecres, 25 de gener de 2012 14:17:35, Cédric Krier va escriure: > > > > I think it should. Of course, we can discuss on what's the best > > > > default behaviour of sto

Re: [tryton-dev] Lot Management

2012-01-25 Thread Cédric Krier
On 25/01/12 23:08 +, Craig Barnes wrote: > On 25 January 2012 22:22, Bertrand Chenal wrote: > > > Le Wed, 25 Jan 2012 19:54:14 +0100, > > Albert Cervera i Areny a écrit : > > > > > > > > Or update stock module to take care of lot with a default lot NULL. > > > > > > Now that you mention it,

Re: [tryton-dev] Lot Management

2012-01-25 Thread Cédric Krier
On 25/01/12 19:52 +0100, Albert Cervera i Areny wrote: > A Dimecres, 25 de gener de 2012 14:17:35, Cédric Krier va escriure: > > > I think it should. Of course, we can discuss on what's the best default > > > behaviour of stock_lot module, but I'm sure that many companies will need > > > to be su

Re: [tryton-dev] Lot Management

2012-01-25 Thread Craig Barnes
On 25 January 2012 22:22, Bertrand Chenal wrote: > Le Wed, 25 Jan 2012 19:54:14 +0100, > Albert Cervera i Areny a écrit : > > > > > Or update stock module to take care of lot with a default lot NULL. > > > > Now that you mention it, I think that lots are so common that it > > would probably make

Re: [tryton-dev] Lot Management

2012-01-25 Thread Bertrand Chenal
Le Wed, 25 Jan 2012 19:54:14 +0100, Albert Cervera i Areny a écrit : > > Or update stock module to take care of lot with a default lot NULL. > > Now that you mention it, I think that lots are so common that it > would probably make sense to put them in the default 'stock' module... Lot is comm

Re: [tryton-dev] Lot Management

2012-01-25 Thread Albert Cervera i Areny
A Dimecres, 25 de gener de 2012 15:03:47, Cédric Krier va escriure: > On 25/01/12 14:43 +0100, Bertrand Chenal wrote: > > Le Wed, 25 Jan 2012 13:45:25 +0100, > > > > Cédric Krier a écrit : > > > - "Adapt assign_try() and pick_product() to take 'lot' field into > > > > > > account." > > > >

Re: [tryton-dev] Lot Management

2012-01-25 Thread Albert Cervera i Areny
A Dimecres, 25 de gener de 2012 14:17:35, Cédric Krier va escriure: > > I think it should. Of course, we can discuss on what's the best default > > behaviour of stock_lot module, but I'm sure that many companies will need > > to be sure that the current stock levels are ok and that includes the >

Re: [tryton-dev] Lot Management

2012-01-25 Thread Cédric Krier
On 25/01/12 14:43 +0100, Bertrand Chenal wrote: > Le Wed, 25 Jan 2012 13:45:25 +0100, > Cédric Krier a écrit : > > > > - "Adapt assign_try() and pick_product() to take 'lot' field into > > account." > > > > I'm not sure this is good. For me, lot is more like a tag on moves > > and it should

Re: [tryton-dev] Lot Management

2012-01-25 Thread Bertrand Chenal
Le Wed, 25 Jan 2012 13:45:25 +0100, Cédric Krier a écrit : > - "Adapt assign_try() and pick_product() to take 'lot' field into > account." > > I'm not sure this is good. For me, lot is more like a tag on moves > and it should not prevent to validate the move. IMO there is at least two use

Re: [tryton-dev] Lot Management

2012-01-25 Thread Cédric Krier
On 25/01/12 14:01 +0100, Albert Cervera i Areny wrote: > A Dimecres, 25 de gener de 2012 13:45:25, Cédric Krier va escriure: > > On 16/12/11 09:37 +0100, Albert Cervera i Areny wrote: > > - "Adapt assign_try() and pick_product() to take 'lot' field into > > account." > > > > I'm not sure this

Re: [tryton-dev] Lot Management

2012-01-25 Thread Albert Cervera i Areny
A Dimecres, 25 de gener de 2012 13:45:25, Cédric Krier va escriure: > On 16/12/11 09:37 +0100, Albert Cervera i Areny wrote: > > We need to implement lot management in Tryton and I've created a > > blueprint for that [1]. Hope we can collect your comments there and in > > the mailing list. > > > >

Re: [tryton-dev] Lot Management

2012-01-25 Thread Cédric Krier
On 16/12/11 09:37 +0100, Albert Cervera i Areny wrote: > We need to implement lot management in Tryton and I've created a blueprint > for > that [1]. Hope we can collect your comments there and in the mailing list. > > Thanks! > > [1] http://code.google.com/p/tryton/wiki/LotManagement Here is

[tryton-dev] Lot Management

2011-12-16 Thread Albert Cervera i Areny
We need to implement lot management in Tryton and I've created a blueprint for that [1]. Hope we can collect your comments there and in the mailing list. Thanks! [1] http://code.google.com/p/tryton/wiki/LotManagement -- Albert Cervera i Areny http://www.NaN-tic.com Tel: +34 93 553 18 03 http: