Import csv file with related field other than id, external id, name
I have researched a lot in the forum and I can not find a way to be able to import a csv file with columns whose value is not the name, id and external id of a related field.
_inherit = "res.partner"
Field1 = fields.Char (string = "Example")
_name = 'mymodel'
Field1 = fields.Char (string = "This is an example field")
Partner = fields.Many2one ('res.partner', string = "Supplier")
I can not find a way to import a column into the csv file and relate it to the "field 1" field in the partner model.
I appreciate any help you can give me with the case.
Thank you very much!