From 54fc91baa2a575af19da53ca2ab3cd5b8a5c7210 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E5=B0=A7?= Date: Tue, 20 Aug 2024 10:50:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89js=E4=B8=AD=E7=9A=84=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/src/js/workpiece_delivery_wizard_confirm.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sf_manufacturing/static/src/js/workpiece_delivery_wizard_confirm.js b/sf_manufacturing/static/src/js/workpiece_delivery_wizard_confirm.js index cb044955..236836ab 100644 --- a/sf_manufacturing/static/src/js/workpiece_delivery_wizard_confirm.js +++ b/sf_manufacturing/static/src/js/workpiece_delivery_wizard_confirm.js @@ -6,8 +6,6 @@ odoo.define('sf_manufacturing.action_dispatch_confirm', function (require) { var _t = core._t; async function dispatch_confirm(parent, {params}) { - console.log(params, 'params') - console.log("
本次下发的工件数量为:" + params.workorder_count + ",是否确认?
", 'content') const dialog = new Dialog(parent, { title: "确认", $content: $('
').append("请确认是否仅配送" + params.workorder_count + "个工件?"), @@ -30,8 +28,6 @@ odoo.define('sf_manufacturing.action_dispatch_confirm', function (require) { context: params.context, } }).then(res => { - console.log(res, 'res') - console.log(res.name, 'res') parent.services.action.doAction({ 'type': 'ir.actions.client', 'tag': 'display_notification',