Skip to content
Health
57/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 47 months ago
  • Required by20/25
    2 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 11.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Description

Dependencies

Odoo dependencies
odoo/odoo:
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 IDNameModelTypeStatus
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_count Integer
    compute='_compute_action_count'
  • action_ids One2many → iot.device.action
    inverse_name='device_id' args: 'iot.device.action'
  • active Boolean
    default=True
  • color Integer
  • device_identification Char
  • group_id Many2one → iot.device.group
    args: 'iot.device.group'
  • icon Selection
    args: [('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'
  • image Binary
    attachment=True help='This field holds the image used as image for the equipment, limited to 1024x1024px.'
  • image_medium Binary
    attachment=True help='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_small Binary
    attachment=True help='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'
  • ip Char
    string='IP'
  • last_contact_date Datetime
    readonly=True
  • model Char
  • name Char
    required=True
  • passphrase Char
  • state Selection
    readonly=True args: []
  • system_id Many2one → iot.system
    required=True args: 'iot.system'
  • tag_ids Many2many → iot.device.tag
    args: 'iot.device.tag'
Public methods (3)
  • create(self, values)
    @api.model_create_multi
  • device_run_action(self)
    @api.multi
  • write(self, vals)
    @api.multi

New fields (5)
  • date_ok Datetime
    readonly=True string='Ok date'
  • device_id Many2one → iot.device
    readonly=True required=True args: 'iot.device'
  • result Text
  • status Selection
    default='pending' required=True args: [('ok', 'Ok'), ('pending', 'Pending'), ('failed', 'Failed')]
  • system_action_id Many2one → iot.system.action
    required=True args: 'iot.system.action'
Public methods (2)
  • run(self)
    @api.multi
  • run_extra_actions(self, status, result)

New fields (1)
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (2)
  • color Integer
    string='Color Index'
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (3)
  • device_ids One2many → iot.device
    inverse_name='system_id' args: 'iot.device'
  • name Char
    required=True
  • system_action_ids One2many → iot.system.action
    inverse_name='system_id' args: 'iot.system.action'
Public methods (0)

No public methods.

New fields (2)
  • name Char
    required=True
  • system_id Many2one → iot.system
    required=True args: 'iot.system'
Public methods (1)
  • run(self, device_action)

Loading…