修改字段名
This commit is contained in:
@@ -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("成功", "打印任务已发送到打印机");
|
||||
|
||||
Reference in New Issue
Block a user