stock_measuring_device: Auto-refresh zipcube wiz when measurement is done

This commit is contained in:
Matthieu Méquignon
2021-04-28 13:14:27 +02:00
committed by Hai Lang
parent 02281cf8a9
commit 25eb29388f
3 changed files with 2 additions and 10 deletions

View File

@@ -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",

View File

@@ -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()

View File

@@ -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 ""