콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
6410 화면

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
3060
3
9월 25
1781
1
7월 25
2311
1
5월 25
2692
1
4월 25
2755