修改字段名

This commit is contained in:
hyyy
2025-06-16 17:28:09 +08:00
parent e29456bbf7
commit c2000aa9c5

View File

@@ -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("成功", "打印任务已发送到打印机");