On 05 Jun 00:47, Albert Cervera i Areny wrote:
> 2014-05-09 19:07 GMT+02:00 Cédric Krier <cedric.kr...@b2ck.com>:
> 
> > On 09 May 18:36, Albert Cervera i Areny wrote:
> > > 2014-05-09 18:13 GMT+02:00 Cédric Krier <cedric.kr...@b2ck.com>:
> > > > On 04 May 10:53, Albert Cervera i Areny wrote:
> > > >> Again, probably do not understand. Let's define the model.
> > > >>
> > > >> Do you want to add what your model would look like in the wiki and
> > > >> continue the discussion from there?
> > > >
> > > > I did not edit the wiki, I let you the authority.
> > > > Here is the design I have:
> > >
> > > Looks good to me in general. However I'd like to re-introduce the
> > > OperationType concept. Design and reason below:
> >
> > Ok so my answer is:
> >
> > > >
> > > >
> > > >     class BOM:
> > > >         operations = fields.One2Many()
> > > >
> > > >
> > > >     class OperationTemplate:
> > > >         bom = fields.Many2One()
> > > >         sequence = fields.Integer()
> > > >         time = fields.Float()
> > > >         operator = fields.Selection(['linear', 'constant'])
> > > >         asset_resources = fields.One2Many()
> > > >         employee_resources = fields.One2Many()
> >
> 
> There is a problem with this design and it is that it does not show how
> many resources are required. Let's say that you have a process that
> requires one machine and two people for a whole hour to produce a unit.
> 
> You could set:
> 
> time = 1 hour
> operator = linear
> asset_resources = [machine_type_1]
> employee_resources = [employee_type1, employee_type1]


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

Attachment: pgpV8t7EdfmMI.pgp
Description: PGP signature

Reply via email to