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

In our module, I inherited res.partner model to add few fields. In the 'Export Data' dialog, these fields are not listed in the 'Available Fields' section to select from. As I was debugging the get_fields method in main.py of web module I found that every field has a flag called exportable which is set to false for all my fields.

Hence the question is, how and what is determining which fields will be exportable and which aren't. And how can I make these fields exportable ?

Odoo version: 13

Note: I am a newbie at Odoo.

Any help is much appreciated. :)


@Sudhir Arya, Thanks for posting. None of the fields I defined are computed/related and store is not set to False. Don't have enough Karma to comment hence the update in question.

Ảnh đại diện
Huỷ bỏ

This will helps you in future: https://www.scoop.it/t/learn-openerp

Câu trả lời hay nhất

Most of the fields are available for export only if they are not compute/related fields or store=False.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 12 20
2194
1
thg 10 20
3114
0
thg 10 19
8
0
thg 8 15
4084
0
thg 12 24
918