Skip to Content
Menu
This question has been flagged
1 Atsakyti
5078 Rodiniai

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.

Portretas
Atmesti

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

Best Answer

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
gruod. 20
2203
1
spal. 20
3126
0
spal. 19
8
0
rugp. 15
4097
0
gruod. 24
925