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

how I can be used (if possible) the Qweb directives (t-if, t-foreach, etc.) such as are applied in the reports or kanban views with the <templates> tag, but in a form or tree view.

greetings

الصورة الرمزية
إهمال
أفضل إجابة

There is no way to do it in the simply form or tree views, to do it you need to define a new widget with their respective template and you could associate to a client action tag, it's more tricky and need more work than usual. It means that you will end doing everything in the js, get data, bind events, I mean everything

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
يوليو 23
5454
1
يونيو 23
3753
1
أبريل 23
4551
1
نوفمبر 22
3366
0
أكتوبر 21
1734