Coverage for adhoc-cicd-odoo-odoo / odoo / api / __init__.py: 100%

5 statements  

« 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/api.py`. 

4from odoo.orm.identifiers import NewId 

5from odoo.orm.decorators import ( 

6 autovacuum, 

7 constrains, 

8 depends, 

9 depends_context, 

10 deprecated, 

11 model, 

12 model_create_multi, 

13 onchange, 

14 ondelete, 

15 private, 

16 readonly, 

17) 

18from odoo.orm.environments import Environment 

19from odoo.orm.utils import SUPERUSER_ID 

20 

21from odoo.orm.types import ContextType, DomainType, IdType, Self, ValuesType