Field Export Restriction

Extra Tools

This article provides a solution for field export restriction on individual user.

Limitation of Odoo

Since Odoo 16, Odoo has added the attribute exportable=False to limit field exports. However, if a field has the exportable=False attribute, it will not be exportable by any user.

In fact, there is information that the owner wants to export for review, but they do not want employees to be able to export this information, such as customer addresses, supplier addresses, unit prices, etc. Odoo has not yet met this requirement.

Odoo Field Export
All users can easily export sensitive information.

Solutions

By default, users can export all fields. However, with our solution, you can specify certain fields that users cannot export with just a few simple configuration steps.

Specify field export restrictions for individual users.

Odoo Field Export Restriction Configuration
Odoo Manager can specify field export restrictions for individual users.
  • After specifying fields that cannot be exported for a user, the user will not see those fields in the list of fields available for data export.
List of fields available for data export
Cannot found 'Total' field in the Available fields.

Restrict the export for all fields.

Restrict the export for all fields
Restrict the export for all fields.
  • ‘Export’ item does not appear in ‘Action’ dropdown.
    'Export' item does not appear in 'Action' dropdown
    User cannot see 'Export item in 'Action' dropdown.

Support multiple companies.

Support multiple companies
Specify the company to which field restrictions will apply.