Health
57/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 47 months ago
-
Required by20/252 modules depend on it
-
Maturity12/25In 2 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
Required by
2
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.09 MB
Module directory on disk
Code analysis
7 migration notes
6 models
14 views
0 HTTP endpoints
Migration considerations
IoTDevice— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (3 methods) migration-api-multi-one · sourceIoTDeviceAction— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceiot_device_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. (2 occurrences in this file) migration-view-attrs-states · sourceiot_device_group_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceiot_device_tag_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceiot_device_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). (2 occurrences in this file) migration-view-tree-tag · sourceiot_system_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). (2 occurrences in this file) migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- None
- System dependencies
- None
- Required by
- iot_input, iot_output
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 14
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
iot_device_action_tree |
iot.device.action.tree | iot.device.action | tree | New |
iot_device_form |
iot.device.form | iot.device | form | New |
iot_device_group_form_view |
iot.device.group.form (in iot_oca) | iot.device.group | form | New |
iot_device_group_search_view |
iot.device.group.search (in iot_oca) | iot.device.group | search | New |
iot_device_group_tree_view |
iot.device.group.tree (in iot_oca) | iot.device.group | tree | New |
iot_device_kanban |
iot.device.kanban | iot.device | kanban | New |
iot_device_search |
iot.device.search | iot.device | search | New |
iot_device_tag_form_view |
iot.device.tag.form (in iot_oca) | iot.device.tag | form | New |
iot_device_tag_search_view |
iot.device.tag.search (in iot_oca) | iot.device.tag | search | New |
iot_device_tag_tree_view |
iot.device.tag.tree (in iot_oca) | iot.device.tag | tree | New |
iot_device_tree |
iot.device.tree | iot.device | tree | New |
iot_system_action_tree |
iot.system.action.tree | iot.system.action | tree | New |
iot_system_form |
iot.system.form | iot.system | form | New |
iot_system_tree |
iot.system.tree | iot.system | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 6
New fields (18)
-
action_countIntegercompute='_compute_action_count' -
action_idsOne2many → iot.device.actioninverse_name='device_id' args: 'iot.device.action' -
activeBooleandefault=True -
colorInteger -
device_identificationChar -
group_idMany2one → iot.device.groupargs: 'iot.device.group' -
iconSelectionargs: [('fa fa-television fa-4x', 'television'), ('fa fa-wifi fa-4x', 'wifi'), ('fa fa-laptop fa-4x', 'laptop'), ('fa fa-desktop fa-4x', 'desktop'), ('fa fa-archive fa-4x', 'archive'), ('fa fa-mobile fa-6x', 'mobile')], 'Icon' -
imageBinaryattachment=Truehelp='This field holds the image used as image for the equipment, limited to 1024x1024px.' -
image_mediumBinaryattachment=Truehelp='Medium-sized image of the equipment. It is automatically resized as a 128x128px image, with aspect ratio preserved, only when the image exceeds one of those sizes. Use this field in form views or some kanban views.'string='Medium-sized image' -
image_smallBinaryattachment=Truehelp='Small-sized image of the equipment. It is automatically resized as a 64x64px image, with aspect ratio preserved. Use this field anywhere a small image is required.'string='Small-sized image' -
ipCharstring='IP' -
last_contact_dateDatetimereadonly=True -
modelChar -
nameCharrequired=True -
passphraseChar -
stateSelectionreadonly=True args: [] -
system_idMany2one → iot.systemrequired=True args: 'iot.system' -
tag_idsMany2many → iot.device.tagargs: 'iot.device.tag'
-
create(self, values)@api.model_create_multi -
device_run_action(self)@api.multi -
write(self, vals)@api.multi
New fields (5)
-
date_okDatetimereadonly=Truestring='Ok date' -
device_idMany2one → iot.devicereadonly=Truerequired=True args: 'iot.device' -
resultText -
statusSelectiondefault='pending'required=True args: [('ok', 'Ok'), ('pending', 'Pending'), ('failed', 'Failed')] -
system_action_idMany2one → iot.system.actionrequired=True args: 'iot.system.action'
-
run(self)@api.multi -
run_extra_actions(self, status, result)
New fields (1)
-
nameCharrequired=True
No public methods.
New fields (2)
-
colorIntegerstring='Color Index' -
nameCharrequired=True
No public methods.
New fields (3)
-
device_idsOne2many → iot.deviceinverse_name='system_id' args: 'iot.device' -
nameCharrequired=True -
system_action_idsOne2many → iot.system.actioninverse_name='system_id' args: 'iot.system.action'
No public methods.
New fields (2)
-
nameCharrequired=True -
system_idMany2one → iot.systemrequired=True args: 'iot.system'
-
run(self, device_action)
Loading…