Create record for related fields ODOO API8
I have two models, first one(Class1) that is writing in API8 and the other (Class2) on the old one API7.
I need to use Class2's fields in Class1 as related fields using :
field_name = fields.TypeOfField(related='class_Relate_Id.field_name',store=True)
The problem is the field in the old API is a function type : so i have no idea what to put in place of TypeOfField....
Does anyone have an idea ? -Thanks in advance.