Ejemplo n.º 1
0
        class MyMapper(Component):
            _name = 'my.mapper'
            _inherit = 'base.import.mapper'

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

            direct = [(follow_m2o_relations("parent_id.name"), "parent_name")]