OdooWiki OCA HUB

Excel Import/Export/Report: Unidecode

excel_import_export_unidecode folder_open OCA/server-tools open_in_new
Tools License: AGPL-3

This module adds the extra unidecode option to be applied to the exported data. Example: e.g. ESPAÑA to ESPANA or forçut to forcut.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds a "Unidecode" checkbox to Excel export templates so exported text can be converted to plain ASCII, turning characters like Ñ or ç into N or c.

This module extends the Excel Import/Export tool with an extra option for exported data. On an Excel export template, each data line now shows a "Unidecode" checkbox next to the existing options; it is only visible for data lines.

When the checkbox is ticked, the value of that field is converted to plain ASCII characters before being written to the file. For example, "ESPAÑA" becomes "ESPANA" and "forçut" becomes "forcut". The conversion is applied to text values only, and it also handles values stored as raw bytes by decoding them first.

The option is stored on the export template line and is also recognised when a field name is entered manually: if the field name contains the marker @?unidecode?, the marker is removed and the checkbox is set automatically. The module relies on the external Python library unidecode, so that library must be installed on the server.

It touches the export template and export engine models (xlsx.template, xlsx.template.export and xlsx.export) and adds one field to the existing export template form view. No new menus or reports are created.

Models and fields (2)
  • xlsx.export · extends an existing model
  • xlsx.template.export · extends an existing modelis_unidecode (Unidecode)

Text generated by AI (DeepSeek) from reading the Odoo 16.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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/server-tools.

terminal Installation and usage

OCA documentation · Odoo 16.0

To install this module, you need to install following python library, unidecode.

To apply unidecode just check the Unidecode field for the data where you want to apply it in the Excel template. If you are defining the template you only have to specify @?unidecode? e.g. 'A2': 'picking_id.export_reference${value or ""}@?unidecode?'

No verified information in OCA: Configuration.

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.