Ir al contenido
Menú
Se marcó esta pregunta
6031 Vistas

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
Descartar

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.

Autor

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?

Publicaciones relacionadas Respuestas Vistas Actividad
0
feb 21
2704
1
jul 25
1688
1
may 25
1675
1
abr 25
2265
2
feb 25
5773