Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4702 มุมมอง

Hello everybody!!!

Can anyone explain to me why didi this query not working please.

I have created a new widget and i need to create a wuery on a model in my odoo session. I have tried this but it doesnt work and i wouldnt understand the source of the problem.

Need your help please.

     new Model('hr.test').query(['name', 'code'])

.filter([['code', '=', 11399]])

.limit(15)

.all().then(function (ret) {

console.log(ret);

var name = ret['name']

});

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ส.ค. 23
194
Odoo use which javascript framework? แก้ไขแล้ว
1
ก.พ. 22
2885
0
ส.ค. 18
5857
0
ก.พ. 18
6548
1
พ.ย. 24
1850