Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
6157 Lượt xem

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!

Ảnh đại diện
Huỷ bỏ

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.

Tác giả

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?

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 21
2792
1
thg 7 25
1882
1
thg 5 25
1973
1
thg 4 25
2397
2
thg 2 25
5951