Coverage for adhoc-cicd-odoo-odoo / odoo / models / __init__.py: 100%
5 statements
« prev ^ index » next coverage.py v7.13.4, created at 2026-03-09 18:22 +0000
« prev ^ index » next coverage.py v7.13.4, created at 2026-03-09 18:22 +0000
1# ruff: noqa: F401
2# Exports features of the ORM to developers.
3# This is a `__init__.py` file to avoid merge conflicts on `odoo/models.py`.
5# TODO we should only expose *Model objects, TableObjects, maybe check_comp*
7from odoo.orm.models import (
8 LOG_ACCESS_COLUMNS,
9 MAGIC_COLUMNS,
10 READ_GROUP_DISPLAY_FORMAT,
11 READ_GROUP_NUMBER_GRANULARITY,
12 AbstractModel,
13 BaseModel,
14 MetaModel,
15 Model,
16 check_companies_domain_parent_of,
17 check_company_domain_parent_of,
18 fix_import_export_id_paths,
19 parse_read_group_spec,
20 regex_order,
21 to_record_ids,
22)
23from odoo.orm.model_classes import is_model_class, is_model_definition
24from odoo.orm.models_transient import TransientModel
25from odoo.orm.table_objects import Constraint, Index, UniqueIndex
26from odoo.orm.utils import (
27 READ_GROUP_TIME_GRANULARITY,
28 check_method_name,
29 check_object_name,
30 check_pg_name,
31)