Skip to Content
मेन्यू
This question has been flagged
6035 Views

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!

Avatar
Discard

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.

Author

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 Replies Views Activity
0
फ़र॰ 21
2708
1
जुल॰ 25
1701
1
मई 25
1685
1
अप्रैल 25
2270
2
फ़र॰ 25
5776