跳至內容
選單
此問題已被標幟
6094 瀏覽次數

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?

相關帖文 回覆 瀏覽次數 活動
0
2月 21
2749
1
7月 25
1785
1
5月 25
1875
1
4月 25
2346
2
2月 25
5898