On Thursday, July 28, 2016 at 12:30:05 PM UTC+2, Cédric Krier wrote:
>
> On 2016-07-28 02:50, Marko Randjelovic wrote: 
> >  I have 5 products defined and 3 BOMs. Regarding BOMs, there is 
> recursive 
> > relationship. 
>
> You can not have recursive BOMs. The process is in an infinite loop, 
> that will stop once you will reach the Python stack limit or your 
> machine memory. 
> It is very complex to detect such cases because there are valid cases 
> where you could have loops in the BOMs (like a catalyst but such 
> product should never be configured to be produced by such BOM). But in 
> real life there are no product that needs itself to be produced. 
>

I expressed myself in a wrong way. I wongly used the term "recursive 
relationship". I wanted to say, that the structure is hierarchical with 
depth more than 1, i.e. that there are parts of a product that are 
themselves represented as a list of other products.
 

>
> -- 
> Cédric Krier - B2CK SPRL 
> Email/Jabber: cedric...@b2ck.com <javascript:> 
> Tel: +32 472 54 46 59 
> Website: http://www.b2ck.com/ 
>

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/c50f21ca-3bf5-41cd-b8b7-4906a3269614%40googlegroups.com.

Reply via email to