i have a problem i try to create a related field from an existing related field :
'related_fieldv7': fields.related('field1_id', 'field2_id', type="many2one", relation="model", string="Blabla Field", readonly=True),
i want to create a new related field based on the precedent using api v8
Why you want create relation to the field already related to something ? (if "primary" field will be empty all related fields will be, if you change value in the last field how will it behave?)
On the other hand you should create relation as normal i guess regardless of the existing relation to the primary/first field.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 5/11/16, 4:02 AM|
|Seen: 193 times|
|Last updated: 5/11/16, 9:06 AM|