Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
12227 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.


Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Thank you for your answer ! 

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


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 9 23
8523
4
thg 4 16
4210
1
thg 3 15
5367
0
thg 3 15
7060
1
thg 12 23
23051