class MyMapper(Component): _name = 'my.mapper' _inherit = 'base.import.mapper' direct = [ (follow_m2o_relations('parent_id.name'), 'parent_name'), ]
class MyMapper(Component): _name = "my.mapper" _inherit = "base.import.mapper" direct = [(follow_m2o_relations("parent_id.name"), "parent_name")]