TIP: You can type at any time to perform a new search.
Iot Custom Field Oca
iot_option_oca · OCA/iot
- Repository
- OCA/iot · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Uncategorized
- Folder size
- 0.08 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/iot
- Last tracking update
- 2026-08-07 07:57:19
- Authors
- Odoo Community Association (OCA), Creu Blanca
- Maintainers
- Odoo Community Association (OCA), Creu Blanca
- Committers
- sergio-teruel, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Code Analysis ⓘ
Views touched (6)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
iot_device_form_view |
iot.device.form (in iot_custom_field_oca) | iot.device | form | Inherits iot_oca.iot_device_form |
iot_device_option_iot_option_view |
iot.device.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 | form | Inherits iot_template_oca.iot_template_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (7)
New fields (1)
-
option_idsOne2many → iot.device.optioninverse_name='device_id' args: 'iot.device.option'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
get_options(self)
New fields (14)
-
device_idMany2one → iot.devicerequired=True args: 'iot.device' -
field_nameCharcompute='_compute_field_name'help='Technical name of the field where the value is stored.' -
field_typeSelectionrelated='property_id.field_type' -
nameCharrelated='property_id.name' -
property_idMany2one → iot.device.propertycomodel_name='iot.device.property'required=Truestring='Property' -
requiredBooleanrelated='property_id.required' -
sequenceIntegerindex=True -
valueCharcompute='_compute_value'help='Value, always converted to/from the typed field.'inverse='_inverse_value'search='_search_value' -
value_boolBooleanindex=Truestring='Yes/No value' -
value_dateDateindex=Truestring='Date value' -
value_floatFloatindex=Truestring='Decimal number value' -
value_intIntegerindex=Truestring='Whole number value' -
value_strCharindex=Truestring='Text value'translate=True -
widgetSelectionreadonly=Truerelated='property_id.widget'
No public methods.
New fields (7)
-
default_valueCharhelp='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_typeSelectioncompute='_compute_field_type'selection=[('str', 'Text'), ('int', 'Whole number'), ('float', 'Decimal number'), ('bool', 'Yes/No'), ('date', 'Date')]store=True -
is_actionBoolean -
nameCharrequired=Truetranslate=True -
requiredBoolean -
tech_nameCharrequired=True -
widgetSelectiondefault='char'help='Type of information that can be stored in the property.'required=Trueselection=[('boolean', 'Boolean'), ('float', 'Decimal'), ('integer', 'Integer'), ('date', 'Date'), ('char', 'Single line text'), ('text', 'Multi line Text'), ('html', 'Complex text')]
No public methods.
New fields (1)
-
property_idsMany2many → iot.device.propertyargs: 'iot.device.property'
-
apply_template(self, device, keys)
New fields (1)
-
view_modeSelectionondelete={'iot_option': 'cascade'}selection_add=[('iot_option', 'IoT Option')]
No public methods.
New fields (1)
-
typeSelectionondelete={'iot_option': 'cascade'}selection_add=[('iot_option', 'IoT Option')]
No public methods.
Loading…
Loading…
Loading…