去掉js中的日志
This commit is contained in:
@@ -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("<div>本次下发的工件数量为:" + params.workorder_count + ",是否确认?</div>", 'content')
|
||||
const dialog = new Dialog(parent, {
|
||||
title: "确认",
|
||||
$content: $('<div>').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',
|
||||
|
||||
Reference in New Issue
Block a user