# -*- coding: utf-8 -*-
# Copyright 2017 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)

# TODO make API short paths
# from odoo.addons.connector import Component
from odoo.addons.connector.components.core import Component
from odoo.addons.connector.components.collection import use


class BaseComponent(Component):
    _inherit = 'base'

    def test_inherit_base(self):
        return 'test_inherit_base'

class Mapper(Component):
    _name = 'mapper'

    def test_inherit_component(self):
        return 'test_inherit_component'


class TestMapper(Component):
    _name = 'test.mapper'
    _inherit = 'mapper'

    def name(self):
        return 'test.mapper'

# -*- coding: utf-8 -*-
# Copyright 2017 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)

# TODO make API short paths
# from odoo.addons.connector import Component
from odoo.addons.connector.components.core import Component


class BaseComponent(Component):
    _inherit = 'base'

    def test_inherit_base(self):
        return 'test_inherit_base'

class Mapper(Component):
    _name = 'mapper'

    def test_inherit_component(self):
        return 'test_inherit_component'


class TestMapper(Component):
    _name = 'test.mapper'
    _inherit = 'mapper'

    def name(self):
        return 'test.mapper'

Improve on the collections, work, ...
Improve on the collections, work, ...
