Re: [tryton] Issues when writing one2one relationship

2016-05-26 Thread Pedro Moretto Rodriguez
Hi, I uploaded it to https://github.com/guzmanico23/cefiro I changed the names of the clases but the logic is the same: 1) At formulario.py: within Formulario class I have the One2One field "formularioViviendaTrabajo" 2) At formVivTrabajo.py: I have two classes "FormularioViviendaTrabajo"

Re: [tryton] Issues when writing one2one relationship

2016-05-26 Thread Pedro Moretto Rodriguez
I mean, I have the module almost finished, I just need to make this one2one relation to work. I am trying to run it on a newer tryton server version without success. El miércoles, 25 de mayo de 2016, 16:30:05 (UTC-3), Pedro Moretto Rodriguez escribió: > > Well, I am using Tryton 2.4.0 and now

Re: [tryton] Issues when writing one2one relationship

2016-05-25 Thread Pedro Moretto Rodriguez
Well, I am using Tryton 2.4.0 and now tried to upgrade it to 4.0. But now it's not possible to load my module, I created a tryton.cfg file and edited __init.py__ on the folder's module. I don't know exactly what I need to upgrade it and get the module work properly. El miércoles, 25 de mayo de

Re: [tryton] Issues when writing one2one relationship

2016-05-25 Thread Cédric Krier
On 2016-05-24 09:40, Pedro Moretto Rodriguez wrote: > I based on the following links but didn't work as you can see: > > [1] http://doc.tryton.org/2.0/trytond/doc/ref/models/fields.html#one2one, > [2] > http://hg.tryton.org/trytond/file/14a0a4d4e03b/trytond/test/test.py#l359 > [3] >

[tryton] Issues when writing one2one relationship

2016-05-24 Thread Pedro Moretto Rodriguez
Hello I am trying to get a one2one relationship to work. Here are my classes: *class Formulario*(ModelSQL,ModelView): 'Formulario' _name = 'cefiro.formulario' _description = __doc__ formVivTrabajo =