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

Hi,


In Odoo 14, how to add a view that shows all data of all fields of a given record?

Similar to "View Metadata" or "View Access Rights", but then a list of all possible fields of that model with its value.



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

Hi Xavier,

You can do this by inheriting the "web.ActionDialog.header" XML template and inheriting the "web_debug_Dialog" method in JS.
In fact the functionality you seem to ask for sounds a lot like an app we have built a few weeks ago.
See https://github.com/Yenthe666/various_odoo_apps/tree/16.0#debug_data_details in which we show every single field its value for a record through a debug menu called "View all data".

Regards,
Yenthe

อวตาร
ละทิ้ง