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

I would like to add a many2one field in a custom widget so I have to add it in the qweb template but I have no idea how to do this ?

Thanks a lot in advance!

อวตาร
ละทิ้ง

I can't help much as I'm currently discovering that code. But, have a look in hr_timesheet_sheet module on the first tab of timesheet there is a widget showing a m2o on account.analytic.account.

ผู้เขียน

This is the module I used to inspirate myself. I finally found a way to do what I want by using javascript to create the many2one field. Anyway, thanks a lot for your message.

Hello Simon how you did it?

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.พ. 21
2861
1
ก.ค. 25
1978
1
พ.ค. 25
2110
QWeb: use t-if to check birthday date แก้ไขแล้ว
1
เม.ย. 25
2493
2
ก.พ. 25
5985