跳至內容
選單
此問題已被標幟
2 回覆
12198 瀏覽次數

I'm working on Odoo V10.

After learning to add a custom field to a view by the configuration interface (by activating the developper mode).

I want to learn how to add custom table to a view. Is it possible to do this without modify the python code like the way from the configuration interface ?

I would like to add a custom table to the view : res.partner.form

This table will only show more informations about the client, with no inteligence behind.

Thank you all for your help

頭像
捨棄
最佳答案

I believe you are asking the standard table/grid view for the lines/child-lines of type (One2Many or Many2Many)

Use widgets like "one2many". Refer examples in Standard modules it self.

But if you to want design the custom table, then you need to play around yourself in the XML views, probably with appropriate div and cols, or table and td/tr entities.


頭像
捨棄
作者 最佳答案

Thank you for your answer ! 

Do you have a technical documentation that can put me on the way ? 


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
9月 23
8503
4
4月 16
4188
1
3月 15
5354
0
3月 15
7021
1
12月 23
23035