Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5056 Widoki

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.

Awatar
Odrzuć

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

Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
gru 20
2194
1
paź 20
3114
0
paź 19
8
0
sie 15
4084
0
gru 24
918