Initial commit: OCA Technical packages (595 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:43:03 +02:00
commit 2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions

View file

@ -0,0 +1,4 @@
# Copyright 2017 Camptocamp SA
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html)
from . import components

View file

@ -0,0 +1,35 @@
# Copyright 2017 Camptocamp SA
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html)
from odoo.addons.component.core import AbstractComponent, Component
class BaseComponent(AbstractComponent):
_inherit = "base"
def test_inherit_base(self):
return "test_inherit_base"
class Mapper(AbstractComponent):
_name = "mapper"
def test_inherit_component(self):
return "test_inherit_component"
class ImportTestMapper(Component):
_name = "test.mapper"
_inherit = "mapper"
_usage = "import.mapper"
_collection = "test.component.collection"
def name(self):
return "test.mapper"
class UserTestComponent(Component):
_name = "test.user.component"
_apply_on = ["res.users"]
_usage = "test1"
_collection = "test.component.collection"