El 16/06/2014 18:21, "Cédric Krier" <cedric.kr...@b2ck.com> va escriure: > > On 16 Jun 18:08, Guillem Barba Domingo wrote: > > El 16/06/2014 15:37, "Cédric Krier" <cedric.kr...@b2ck.com> va escriure: > > > > > > On 16 Jun 15:30, Guillem Barba Domingo wrote: > > > > > You can define many BOM's for the same product. > > > > > By default Tryton will pick the first one but it should be possible to > > > > > write a code to select one base on some criteria. > > > > > > > > > > > > If in the described use case, for each product there is only one valid > > BoM, > > > > maybe you found useful our module production_bom_versions [1]. > > > > It adds to BoM an start/end dates, and a BoM can be related to its > > "master > > > > BoM" (it's a way to "group" them, there is nothing inherited from > > "master > > > > BoM"). > > > > There is only one active version per each master. > > > > > > But it is missing the management of the link between product and bom. > > > > The link is between product and master bom. > > I don't understand. Tryton always uses by default the first BOM of the > product.
I don't understand what you don't understand. You can look at the code to see what it does exactly.