From c2000aa9c54894402c3489723272df84eadac15b Mon Sep 17 00:00:00 2001 From: hyyy <123@qq.com> Date: Mon, 16 Jun 2025 17:28:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=97=E6=AE=B5=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_demand_plan/static/src/js/print_demand.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sf_demand_plan/static/src/js/print_demand.js b/sf_demand_plan/static/src/js/print_demand.js index b1ecd7e7..e66484f0 100644 --- a/sf_demand_plan/static/src/js/print_demand.js +++ b/sf_demand_plan/static/src/js/print_demand.js @@ -91,14 +91,14 @@ odoo.define('sf_demand.print_demand', function (require) { }, _onPrintClick(e) { console.log(e, 'asdsadadsadasdad', this); - var selectedIds = this.getSelectedIds(); + var print_ids = this.getSelectedIds(); - console.log(selectedIds); + console.log(print_ids); this._rpc({ model: 'sf.demand.plan.print.wizard', method: 'demand_plan_print', - kwargs: selectedIds, + kwargs: print_ids, // context: this.state.getContext() }).then(function() { self.do_notify("成功", "打印任务已发送到打印机");