[Erp5-users] Products

Tomasz Brzezina tomasz at brzezina.pl
Mon Nov 27 11:16:35 CET 2006


Thierry Brettnacher napisał(a):
> Le Jeudi 23 Novembre 2006 13:39, Tomasz Brzezina a écrit :
>> How to solve such problem.
>>
>> There is beer with EAN code 590155916007. You can also buy it in
>> container which contains 6 beers. It has EAN code 5901559164005.
>>
>> What logic should I use?
> 
> Hello,
> 
> You should consider your "beer container" or "beer pack" as another product 
> inside your Product module and enter on it the specific EAN code.
> If you have a look at the "resource" Property Sheet you will see there is a 
> proprety called "consumer_unit_quantity" which allows to define on your "beer 
> pack" that it consists of 6 consumer units.
Yes it's ok, but question is: how to connect beer container with beer.

> Of course you can also define a transformation for the beer pack saying that 6 
> beers and one container are needed to produce a pack.
But what about inverse action (got container and after transformation 
got 6 beers)

-- 
Tomasz Brzezina



More information about the Erp5-users mailing list