Iot Custom Field Oca

iot_option_oca
REPOSITORY
REPOSITORYOCA/iot
GIT
GIThttps://github.com/OCA/iot.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/iot/tree/15.0/iot_option_oca
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSsergio-teruel, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/iot
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:44
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/iot:
    - iot_template_oca
    - iot_input_oca
    - iot_oca
    - iot_output_oca
odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
iot_device_form_view iot.device.form (in iot_custom_field_oca) iot.device xpath Inherits iot_oca.iot_device_form
iot_device_option_iot_option_view iot.device.option iot_option New
iot_device_property_form_view iot.device.property.form (in iot_option_oca) iot.device.property form New
iot_device_property_search_view iot.device.property.search (in iot_option_oca) iot.device.property search New
iot_device_property_tree_view iot.device.property.tree (in iot_option_oca) iot.device.property tree New
iot_template_form_view iot.template.form (in iot_custom_field_oca) iot.template xpath Inherits iot_template_oca.iot_template_form
Models touched (7)

New fields (1)
  • option_ids One2many → iot.device.option
    inverse_name='device_id' args: 'iot.device.option'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • get_options(self)

New fields (14)
  • device_id Many2one → iot.device
    required=True args: 'iot.device'
  • field_name Char
    compute='_compute_field_name' help='Technical name of the field where the value is stored.'
  • field_type Selection
    related='property_id.field_type'
  • name Char
    related='property_id.name'
  • property_id Many2one → iot.device.property
    comodel_name='iot.device.property' required=True string='Property'
  • required Boolean
    related='property_id.required'
  • sequence Integer
    index=True
  • value Char
    compute='_compute_value' help='Value, always converted to/from the typed field.' inverse='_inverse_value' search='_search_value'
  • value_bool Boolean
    index=True string='Yes/No value'
  • value_date Date
    index=True string='Date value'
  • value_float Float
    index=True string='Decimal number value'
  • value_int Integer
    index=True string='Whole number value'
  • value_str Char
    index=True string='Text value' translate=True
  • widget Selection
    readonly=True related='property_id.widget'
Public methods (0)

No public methods.

New fields (7)
  • default_value Char
    help='Will be applied by default to all custom values of this property. This is a char field, so you have to enter some value that can be converted to the field type you choose.' translate=True
  • field_type Selection
    compute='_compute_field_type' selection=[('str', 'Text'), ('int', 'Whole number'), ('float', 'Decimal number'), ('bool', 'Yes/No'), ('date', 'Date')] store=True
  • is_action Boolean
  • name Char
    required=True translate=True
  • required Boolean
  • tech_name Char
    required=True
  • widget Selection
    default='char' help='Type of information that can be stored in the property.' required=True selection=[('boolean', 'Boolean'), ('float', 'Decimal'), ('integer', 'Integer'), ('date', 'Date'), ('char', 'Single line text'), ('text', 'Multi line Text'), ('html', 'Complex text')]
Public methods (0)

No public methods.

New fields (1)
  • property_ids Many2many → iot.device.property
    args: 'iot.device.property'
Public methods (1)
  • apply_template(self, device, keys)

New fields (1)
  • view_mode Selection
    ondelete={'iot_option': 'cascade'} selection_add=[('iot_option', 'IoT Option')]
Public methods (0)

No public methods.

New fields (1)
  • type Selection
    ondelete={'iot_option': 'cascade'} selection_add=[('iot_option', 'IoT Option')]
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/iot
GIT
GIThttps://github.com/OCA/iot.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/iot/tree/14.0/iot_option_oca
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Olga Marco, oca-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/iot
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/iot:
    - iot_template_oca
    - iot_input_oca
    - iot_oca
    - iot_output_oca
odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
assets_backend Backend Assets (used in backend interface) ir.ui.view qweb Inherits web.assets_backend
iot_device_form_view iot.device.form (in iot_custom_field_oca) iot.device xpath Inherits iot_oca.iot_device_form
iot_device_option_iot_option_view iot.device.option iot_option New
iot_device_property_form_view iot.device.property.form (in iot_option_oca) iot.device.property form New
iot_device_property_search_view iot.device.property.search (in iot_option_oca) iot.device.property search New
iot_device_property_tree_view iot.device.property.tree (in iot_option_oca) iot.device.property tree New
iot_template_form_view iot.template.form (in iot_custom_field_oca) iot.template xpath Inherits iot_template_oca.iot_template_form
Models touched (7)

New fields (1)
  • option_ids One2many → iot.device.option
    inverse_name='device_id' args: 'iot.device.option'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • get_options(self)

New fields (14)
  • device_id Many2one → iot.device
    required=True args: 'iot.device'
  • field_name Char
    compute='_compute_field_name' help='Technical name of the field where the value is stored.'
  • field_type Selection
    related='property_id.field_type'
  • name Char
    related='property_id.name'
  • property_id Many2one → iot.device.property
    comodel_name='iot.device.property' required=True string='Property'
  • required Boolean
    related='property_id.required'
  • sequence Integer
    index=True
  • value Char
    compute='_compute_value' help='Value, always converted to/from the typed field.' inverse='_inverse_value' search='_search_value'
  • value_bool Boolean
    index=True string='Yes/No value'
  • value_date Date
    index=True string='Date value'
  • value_float Float
    index=True string='Decimal number value'
  • value_int Integer
    index=True string='Whole number value'
  • value_str Char
    index=True string='Text value' translate=True
  • widget Selection
    readonly=True related='property_id.widget'
Public methods (0)

No public methods.

New fields (7)
  • default_value Char
    help='Will be applied by default to all custom values of this property. This is a char field, so you have to enter some value that can be converted to the field type you choose.' translate=True
  • field_type Selection
    compute='_compute_field_type' selection=[('str', 'Text'), ('int', 'Whole number'), ('float', 'Decimal number'), ('bool', 'Yes/No'), ('date', 'Date')] store=True
  • is_action Boolean
  • name Char
    required=True translate=True
  • required Boolean
  • tech_name Char
    required=True
  • widget Selection
    default='char' help='Type of information that can be stored in the property.' required=True selection=[('boolean', 'Boolean'), ('float', 'Decimal'), ('integer', 'Integer'), ('date', 'Date'), ('char', 'Single line text'), ('text', 'Multi line Text'), ('html', 'Complex text')]
Public methods (0)

No public methods.

New fields (1)
  • property_ids Many2many → iot.device.property
    args: 'iot.device.property'
Public methods (1)
  • apply_template(self, device, keys)

New fields (1)
  • view_mode Selection
    ondelete={'iot_option': 'cascade'} selection_add=[('iot_option', 'IoT Option')]
Public methods (0)

No public methods.

New fields (1)
  • type Selection
    ondelete={'iot_option': 'cascade'} selection_add=[('iot_option', 'IoT Option')]
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/iot
GIT
GIThttps://github.com/OCA/iot.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/iot/tree/13.0/iot_option_oca
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSEnric Tobella, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/iot
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/iot:
    - iot_template_oca
    - iot_input_oca
    - iot_output_oca
    - iot_oca
odoo/odoo:
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
assets_backend Backend Assets (used in backend interface) ir.ui.view qweb Inherits web.assets_backend
iot_device_form_view iot.device.form (in iot_custom_field_oca) iot.device xpath Inherits iot_oca.iot_device_form
iot_device_option_iot_option_view iot.device.option iot_option New
iot_device_property_form_view iot.device.property.form (in iot_option_oca) iot.device.property form New
iot_device_property_search_view iot.device.property.search (in iot_option_oca) iot.device.property search New
iot_device_property_tree_view iot.device.property.tree (in iot_option_oca) iot.device.property tree New
iot_template_form_view iot.template.form (in iot_custom_field_oca) iot.template xpath Inherits iot_template_oca.iot_template_form
Models touched (7)

New fields (1)
  • option_ids One2many → iot.device.option
    inverse_name='device_id' args: 'iot.device.option'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • get_options(self)

New fields (14)
  • device_id Many2one → iot.device
    ondelete='cascade' required=True args: 'iot.device'
  • field_name Char
    compute='_compute_field_name' help='Technical name of the field where the value is stored.'
  • field_type Selection
    related='property_id.field_type'
  • name Char
    related='property_id.name'
  • property_id Many2one → iot.device.property
    comodel_name='iot.device.property' required=True string='Property'
  • required Boolean
    related='property_id.required'
  • sequence Integer
    index=True
  • value Char
    compute='_compute_value' help='Value, always converted to/from the typed field.' inverse='_inverse_value' search='_search_value'
  • value_bool Boolean
    index=True string='Yes/No value'
  • value_date Date
    index=True string='Date value'
  • value_float Float
    index=True string='Decimal number value'
  • value_int Integer
    index=True string='Whole number value'
  • value_str Char
    index=True string='Text value' translate=True
  • widget Selection
    readonly=True related='property_id.widget'
Public methods (0)

No public methods.

New fields (7)
  • default_value Char
    help='Will be applied by default to all custom values of this property. This is a char field, so you have to enter some value that can be converted to the field type you choose.' translate=True
  • field_type Selection
    compute='_compute_field_type' selection=[('str', 'Text'), ('int', 'Whole number'), ('float', 'Decimal number'), ('bool', 'Yes/No'), ('date', 'Date')] store=True
  • is_action Boolean
  • name Char
    required=True translate=True
  • required Boolean
  • tech_name Char
    required=True
  • widget Selection
    default='char' help='Type of information that can be stored in the property.' required=True selection=[('boolean', 'Boolean'), ('float', 'Decimal'), ('integer', 'Integer'), ('date', 'Date'), ('char', 'Single line text'), ('text', 'Multi line Text'), ('html', 'Complex text')]
Public methods (0)

No public methods.

New fields (1)
  • property_ids Many2many → iot.device.property
    args: 'iot.device.property'
Public methods (1)
  • apply_template(self, device, keys)

New fields (1)
  • view_mode Selection
    selection_add=[('iot_option', 'IoT Option')]
Public methods (0)

No public methods.

New fields (1)
  • type Selection
    selection_add=[('iot_option', 'IoT Option')]
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/iot
GIT
GIThttps://github.com/OCA/iot.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/iot/tree/12.0/iot_option_oca
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSOCA Transbot, AaronHForgeFlow, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/iot
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/iot:
    - iot_template_oca
    - iot_input
    - iot_output
    - iot
odoo/odoo:
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
assets_backend Backend Assets (used in backend interface) ir.ui.view qweb Inherits web.assets_backend
iot_device_form_view iot.device.form (in iot_custom_field_oca) iot.device xpath Inherits iot.iot_device_form
iot_device_option_iot_option_view iot.device.option iot_option New
iot_device_property_form_view iot.device.property.form (in iot_option_oca) iot.device.property form New
iot_device_property_search_view iot.device.property.search (in iot_option_oca) iot.device.property search New
iot_device_property_tree_view iot.device.property.tree (in iot_option_oca) iot.device.property tree New
iot_template_form_view iot.template.form (in iot_custom_field_oca) iot.template xpath Inherits iot_template_oca.iot_template_form
Models touched (7)

New fields (1)
  • option_ids One2many → iot.device.option
    inverse_name='device_id' args: 'iot.device.option'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • get_options(self)

New fields (14)
  • device_id Many2one → iot.device
    required=True args: 'iot.device'
  • field_name Char
    compute='_compute_field_name' help='Technical name of the field where the value is stored.'
  • field_type Selection
    related='property_id.field_type'
  • name Char
    related='property_id.name'
  • property_id Many2one → iot.device.property
    comodel_name='iot.device.property' required=True string='Property'
  • required Boolean
    related='property_id.required'
  • sequence Integer
    index=True
  • value Char
    compute='_compute_value' help='Value, always converted to/from the typed field.' inverse='_inverse_value' search='_search_value'
  • value_bool Boolean
    index=True string='Yes/No value'
  • value_date Date
    index=True string='Date value'
  • value_float Float
    index=True string='Decimal number value'
  • value_int Integer
    index=True string='Whole number value'
  • value_str Char
    index=True string='Text value' translate=True
  • widget Selection
    readonly=True related='property_id.widget'
Public methods (0)

No public methods.

New fields (7)
  • default_value Char
    help='Will be applied by default to all custom values of this property. This is a char field, so you have to enter some value that can be converted to the field type you choose.' translate=True
  • field_type Selection
    compute='_compute_field_type' selection=[('str', 'Text'), ('int', 'Whole number'), ('float', 'Decimal number'), ('bool', 'Yes/No'), ('date', 'Date')] store=True
  • is_action Boolean
  • name Char
    required=True translate=True
  • required Boolean
  • tech_name Char
    required=True
  • widget Selection
    default='char' help='Type of information that can be stored in the property.' required=True selection=[('boolean', 'Boolean'), ('float', 'Decimal'), ('integer', 'Integer'), ('date', 'Date'), ('char', 'Single line text'), ('text', 'Multi line Text'), ('html', 'Complex text')]
Public methods (0)

No public methods.

New fields (1)
  • property_ids Many2many → iot.device.property
    args: 'iot.device.property'
Public methods (1)
  • apply_template(self, device, keys)

New fields (1)
  • view_mode Selection
    selection_add=[('iot_option', 'IoT Option')]
Public methods (0)

No public methods.

New fields (1)
  • type Selection
    selection_add=[('iot_option', 'IoT Option')]
Public methods (0)

No public methods.