Re: [tryton] Re: Self-Reference and relationship fields aclaration.

2012-05-29 Thread Triztian
On Friday, May 25, 2012 6:45:22 PM UTC-7, Cédric Krier wrote: On 25/05/12 18:01 -0700, Triztian wrote: So I infer that a parent cannot establish a relation to a child without the child specifying a field that relates them to its parent? No, this is a basic design with relational

[tryton] Re: Self-Reference and relationship fields aclaration.

2012-05-25 Thread Triztian
This is the classes that id like to model(in pure python) , how would the be in tryton? Part(): p_id = 0 Assembly(): a_id = 0 parts = [ ( pid, p_qty ) ] On Thursday, May 24, 2012 11:42:39 AM UTC-7, Triztian wrote: I'm trying to

Re: [tryton] Re: Self-Reference and relationship fields aclaration.

2012-05-25 Thread Cédric Krier
On 25/05/12 17:05 -0700, Triztian wrote: This is the classes that id like to model(in pure python) , how would the be in tryton? Part(): p_id = 0 Assembly(): a_id = 0 parts = [ ( pid, p_qty ) ] On Thursday, May 24,

Re: [tryton] Re: Self-Reference and relationship fields aclaration.

2012-05-25 Thread Cédric Krier
On 25/05/12 18:01 -0700, Triztian wrote: So I infer that a parent cannot establish a relation to a child without the child specifying a field that relates them to its parent? No, this is a basic design with relational database. -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège