Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
17466 มุมมอง

So, I've been reading through the docs, and I found a section in the Javascript Cheatsheet about creating a new view from scratch. The section gives a few basic examples about what could potentially be used to create a new view, but the explanations aren't in depth, and I can't really figure out how to do it by myself. 

Has anyone on the forums ever created a custom view on their own? If yes, then I'd love to have an example to read through and try to understand. Any help would be appreaciated.

Thanks!

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi, here you can see an example. Hr Dashboard

https://www.odoo.com/apps/modules/11.0/hr_dashboard/

อวตาร
ละทิ้ง
ผู้เขียน

It'll take me some time to leaf through the code, but thank you very much! I think this is exactly what I was looking for.

คำตอบที่ดีที่สุด

Here is a complete documentation 

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

and example code \

https://github.com/Polymorphe57/hello_world_view_code

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Have you seen "How to develop new views in Odoo 10" at https://www.odoo.com/slides/slide/how-to-develop-new-views-in-odoo-10-471

อวตาร
ละทิ้ง
ผู้เขียน

I'll try to give it a read, thanks!

คำตอบที่ดีที่สุด

I saved an example code to Odoo 14 (\ODOO 14\server\odoo\addons)

 and I restarted server. I not see this module In my Apps, and I cannot install it.

I can see my other app and I can install it and it works fine.

So maybe this can not instal same way than normal apps to Odoo 14 or, this View type app version needs to update some way for odoo 14?

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ค. 21
15846
1
เม.ย. 21
4537
1
เม.ย. 20
3148
0
มี.ค. 20
2296
Creation of DOM from XML แก้ไขแล้ว
1
ก.พ. 20
4011