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

Hello everyone , I try to create new View Type (xtree)  base on Odoo document and video as below

document
https://www.odoo.com/documentation/14.0/reference/javascript_cheatsheet.html#creating-a-new-view-from-scratch

video tutorial

https://www.youtube.com/watch?v=SIoljYJhTqk

This is my module structure, I separate 4 files js instead 1 file in video


I only want to create <xtree> view and display "Hello world" in that view . But when I load module , I see this Error


Here is my code : https://github.com/luantm16110560/xtree

Please explain to me

Thanks

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

I fixed this error


This is an example code for Create new View Type in Odoo 14

Everybody can refer in my github link

Thanks and best regards.

الصورة الرمزية
إهمال

Hi,
can you please contact me at techepic22@gmail.com
Thanks.

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 25
2361
2
يوليو 25
7855
2
يوليو 25
4254
2
يوليو 25
4017
2
يونيو 25
2618