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.
I've just updated the wiki. We will hopefully make a new review soon. > Here is the design I have: > > > class BOM: > operations = fields.One2Many() > > > class OperationTemplate: > bom = fields.Many2One() > sequence = fields.Integer() > description = fields.Text() > time = fields.Float() > operator = fields.Selection(['linear', 'constant']) > asset_resources = fields.One2Many() > employee_resources = fields.One2Many() > > > class AssetResource: > product = fields.Many2One() > > > class EmployeResource: > group = fields.Many2One() > > > class Production: > operations = fields.One2Many() > > > class Operation: > production = fields.Many2One() > sequence = fields.Integer() > description = fields.Text() > time = fields.Float() > assets = fields.One2Many() > employees = fields.One2Many() > > > class OperationAsset: > product = fields.Many2One() > lot = fields.Many2One() # Optional > > > class OperationEmployee: > group = fields.Many2One() > employee = fields.Many2One() # Optional > > -- > Cédric Krier - B2CK SPRL > Email/Jabber: cedric.kr...@b2ck.com > Tel: +32 472 54 46 59 > Website: http://www.b2ck.com/ -- Albert Cervera i Areny Tel. 93 553 18 03 @albertnan www.NaN-tic.com