调试线上sf的bug

This commit is contained in:
WEB许何哲\xuhez
2023-08-08 14:42:10 +08:00
parent 194bb28085
commit 0e292ea597
3 changed files with 12 additions and 4 deletions

View File

@@ -27,6 +27,7 @@ class CustomKanbanController extends KanbanController {
args: [[], ['id']],
kwargs: {}
}).then((records) => {
console.log(records)
const ids = records.map(record => record.id);
const context = {production_line_show: id};
this.env.services.rpc('/web/dataset/call_kw', {
@@ -36,7 +37,9 @@ class CustomKanbanController extends KanbanController {
kwargs: {}
}).then((response) => {
console.log('response', response);
location.reload();
setTimeout(function () {
location.reload();
},2000)
});
});