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 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!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscrever-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
0
fev. 21
|
4320 | |||
|
3
mai. 26
|
4184 | |||
|
1
jul. 25
|
5326 | |||
|
1
mai. 25
|
6457 | |||
|
QWeb: use t-if to check birthday date
Resolvido
|
1
abr. 25
|
5000 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
I can't help much as I'm currently discovering that code. But, have a look in
hr_timesheet_sheetmodule on the first tab of timesheet there is a widget showing a m2o onaccount.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?