تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
6103 أدوات العرض

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
فبراير 21
2760
1
يوليو 25
1803
1
مايو 25
1891
1
أبريل 25
2352
2
فبراير 25
5902