mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
stock_measuring_device: Auto-refresh zipcube wiz when measurement is done
This commit is contained in:
committed by
Hai Lang
parent
02281cf8a9
commit
25eb29388f
@@ -4,7 +4,7 @@
|
||||
"name": "Stock Zippcube",
|
||||
"summary": "Implement interface with Bosche Zippcube devices"
|
||||
"for packaging measurement",
|
||||
"version": "13.0.1.0.0",
|
||||
"version": "13.0.1.1.0",
|
||||
"category": "Warehouse",
|
||||
"author": "Camptocamp, Odoo Community Association (OCA)",
|
||||
"license": "AGPL-3",
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
|
||||
import logging
|
||||
|
||||
from odoo import _
|
||||
|
||||
from odoo.addons.component.core import Component
|
||||
|
||||
_logger = logging.getLogger(__name__)
|
||||
@@ -38,5 +36,5 @@ class ZippcubeDevice(Component):
|
||||
# wizard_line is only set when measurements are made from the measurement
|
||||
# device wizard.
|
||||
if wizard_line:
|
||||
wizard_line.wizard_id._notify(_("Please, press the REFRESH button."))
|
||||
wizard_line.wizard_id._send_notification_refresh()
|
||||
packaging._measuring_device_release()
|
||||
|
||||
@@ -29,12 +29,6 @@ msgstr ""
|
||||
msgid "No such Zippcube with name {}."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_measuring_device_zippcube
|
||||
#: code:addons/stock_measuring_device_zippcube/components/zippcube_device_component.py:0
|
||||
#, python-format
|
||||
msgid "Please, press the REFRESH button."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_measuring_device_zippcube
|
||||
#: model:ir.model.fields,help:stock_measuring_device_zippcube.field_measuring_device__device_type
|
||||
msgid ""
|
||||
|
||||
Reference in New Issue
Block a user