Skip to Content
Menu
This question has been flagged
1 Reply
3908 Views

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
Discard

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.

Avatar
Discard
Related Posts Replies Views Activity
0
Dec 20
1466
1
Oct 20
2334
0
Oct 19
8
0
Aug 15
3084
0
Dec 24
30