Remote Measure Devices Input

web_widget_remote_measure
REPOSITORY
REPOSITORYOCA/stock-weighing
GIT
GIThttps://github.com/OCA/stock-weighing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-weighing/tree/18.0/web_widget_remote_measure
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYStock
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, David, oca-ci, Carlos Roca, CarlosRoca13
WEBSITE
WEBSITEhttps://github.com/OCA/stock-weighing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - web
    - base
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows to input data from remote devices in your network.
Currently, only websockets devices are supported, but it can be extended
for any protocol like Webservices.

Other modules can extend this one in order to use the widget.

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
measure_device_form remote.measure.device form New
measure_device_kanban remote.measure.device kanban New
measure_device_list remote.measure.device list New
res_users_form_view res.users group Inherits base.view_users_form_simple_modif
view_users_form res.users page Inherits base.view_users_form
view_users_select_remote_measure_form res.users.select.remote.measure.device res.users form New
Models touched (3)

New fields (12)
  • active Boolean
    default=True
  • connection_mode Selection
    required=True selection=[('websockets', 'Web Sockets'), ('webservices', 'Web Services'), ('tcp', 'Direct connection')]
  • host Char
    required=True
  • instant_read Boolean
    help='Read right on as the widget gets rendered'
  • name Char
    required=True
  • non_stop_read Boolean
    help="Don't stop reading until the widget is disposed"
  • protocol Selection
    help='Operating protocol' required=True selection=[('f501', 'Scale F501')]
  • read_interval Integer
    help='(0 for no sleep between reads) Miliseconds to wait between device reads'
  • test_measure Float
    default=0.0
  • uom_category_id Many2one
    related='uom_id.category_id'
  • uom_factor Float
    related='uom_id.factor'
  • uom_id Many2one → uom.uom
    comodel_name='uom.uom' required=True string='Unit of measure'
Public methods (2)
  • test_connection_notification(self, notification_type, host, port)
  • test_tcp_connection(self)
    Verify the TCP connection with the remote device

New fields (1)
  • remote_measure_device_id Many2one → remote.measure.device
    comodel_name='remote.measure.device' help='Default remote measure device for this user' readonly=False related='res_users_settings_id.remote_measure_device_id'
Public methods (1)
  • action_close_remote_device_wizard(self)

New fields (1)
  • remote_measure_device_id Many2one → remote.measure.device
    comodel_name='remote.measure.device' help='Default remote measure device for this user'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/stock-weighing
GIT
GIThttps://github.com/OCA/stock-weighing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-weighing/tree/17.0/web_widget_remote_measure
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYStock
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, David, oca-ci, Carlos Roca, CarlosRoca13
WEBSITE
WEBSITEhttps://github.com/OCA/stock-weighing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - web
    - base
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows to input data from remote devices in your network.
Currently, only websockets devices are supported, but it can be extended
for any protocol like Webservices.

Other modules can extend this one in order to use the widget.

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
measure_device_form remote.measure.device form New
measure_device_kanban remote.measure.device kanban New
measure_device_tree remote.measure.device tree New
res_users_form_view res.users group Inherits base.view_users_form_simple_modif
view_users_form res.users page Inherits base.view_users_form
view_users_select_remote_measure_form res.users.select.remote.measure.device res.users form New
Models touched (3)

New fields (12)
  • active Boolean
    default=True
  • connection_mode Selection
    required=True selection=[('websockets', 'Web Sockets'), ('webservices', 'Web Services'), ('tcp', 'Direct connection')]
  • host Char
    required=True
  • instant_read Boolean
    help='Read right on as the widget gets rendered'
  • name Char
    required=True
  • non_stop_read Boolean
    help="Don't stop reading until the widget is disposed"
  • protocol Selection
    help='Operating protocol' required=True selection=[('f501', 'Scale F501')]
  • read_interval Integer
    help='(0 for no sleep between reads) Miliseconds to wait between device reads'
  • test_measure Float
    default=0.0
  • uom_category_id Many2one
    related='uom_id.category_id'
  • uom_factor Float
    related='uom_id.factor'
  • uom_id Many2one → uom.uom
    comodel_name='uom.uom' required=True string='Unit of measure'
Public methods (2)
  • test_connection_notification(self, notification_type, host, port)
  • test_tcp_connection(self)
    Verify the TCP connection with the remote device

New fields (1)
  • remote_measure_device_id Many2one → remote.measure.device
    comodel_name='remote.measure.device' help='Default remote measure device for this user' readonly=False related='res_users_settings_id.remote_measure_device_id'
Public methods (1)
  • action_close_remote_device_wizard(self)

New fields (1)
  • remote_measure_device_id Many2one → remote.measure.device
    comodel_name='remote.measure.device' help='Default remote measure device for this user'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/stock-weighing
GIT
GIThttps://github.com/OCA/stock-weighing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-weighing/tree/15.0/web_widget_remote_measure
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYStock
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, sergio-teruel, Weblate, OCA-git-bot, David, oca-ci, Carlos Roca, CarlosRoca13
WEBSITE
WEBSITEhttps://github.com/OCA/stock-weighing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:37
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - web
    - base
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
measure_device_form remote.measure.device form New
measure_device_kanban remote.measure.device kanban New
measure_device_tree remote.measure.device tree New
res_users_form_view res.users group Inherits base.view_users_form_simple_modif
view_users_form res.users page Inherits base.view_users_form
view_users_select_remote_measure_form res.users.select.remote.measure.device res.users form New
Models touched (2)

New fields (12)
  • active Boolean
    default=True
  • connection_mode Selection
    required=True selection=[('websockets', 'Web Sockets'), ('webservices', 'Web Services'), ('tcp', 'Direct connection')]
  • host Char
    required=True
  • instant_read Boolean
    help='Read right on as the widget gets rendered'
  • name Char
    required=True
  • non_stop_read Boolean
    help="Don't stop reading until the widget is disposed"
  • protocol Selection
    help='Operating protocol' required=True selection=[('f501', 'Scale F501')]
  • read_interval Integer
    help='(0 for no sleep between reads) Miliseconds to wait between device reads'
  • test_measure Float
    default=0.0
  • uom_category_id Many2one
    related='uom_id.category_id'
  • uom_factor Float
    related='uom_id.factor'
  • uom_id Many2one → uom.uom
    comodel_name='uom.uom' required=True string='Unit of measure'
Public methods (2)
  • test_connection_notification(self, notification_type, host, port)
  • test_tcp_connection(self)
    Verify the TCP connection with the remote device

New fields (1)
  • remote_measure_device_id Many2one → remote.measure.device
    comodel_name='remote.measure.device' help='Default remote measure device for this user'
Public methods (3)
  • SELF_READABLE_FIELDS(self)
    @property
  • SELF_WRITEABLE_FIELDS(self)
    @property
  • action_close_remote_device_wizard(self)