Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
5105 Tampilan

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.

Avatar
Buang

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

Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Des 20
2220
1
Okt 20
3144
0
Okt 19
8
0
Agu 15
4166
0
Des 24
954