OdooWiki OCA HUB

Optional CSV import

base_import_security_group folder_open OCA/server-ux open_in_new
Server tools License: AGPL-3

This module makes importing data from CSV and Excel files optional for each user, depending on whether Import CSV/Excel files is ticked on the Access Rights tab on the user form. This corresponds to a user group by the same name. Only users that belong to this group will have the Import records button available under the Actions (cogwheel) icon in the header of list and kanban views.

If this GUI restriction is circumvented (through a crafted JSONRPC call for instance), there is another check in the backend to prevent batch imports by restricted users.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

This module makes CSV/Excel importing optional per user. Only users with the "Import CSV/Excel files" access right see the Import button and can actually import records; others are blocked.

This module adds a new access right called "Import CSV/Excel files" on the user form. Users who have it can import data from CSV or Excel files; users who do not have it cannot.

Where it appears: - On the user form, under the Access Rights tab, there is a new checkbox for "Import CSV/Excel files". - In list and kanban views, the Import records button under the Actions (cogwheel) menu is only shown to users who have this right.

Automatic behaviour: - When a user without the right tries to import data, the system blocks the import and returns an error message saying the user is not allowed to import data in that model. The attempt is also written to the server log. - The user's permission is checked when the web session starts, so the interface knows whether to show the Import button.

Which areas it touches: - It affects the general import mechanism used by all models (base), so the restriction applies everywhere in Odoo. - It also changes the session information sent to the web client (ir.http).

By default, the Administrator and the superuser (root) are members of this new group, so they can import without extra setup.

Depends on

webweb_tourbase_import
Models and fields (2)
  • base · extends an existing model
  • ir.http · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 15.0

Confirmed on 2026-11-03 in branch 15.0 of OCA/server-ux.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.