Italiano
Questo modulo aggiunge al partner il campo codice fiscale e permette di calcolarne il suo valore.
English
This module extends the functionality of partner allowing you to compute its fiscal code.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Adds an Italian Fiscal Code field to contacts and companies, validates it, and provides a wizard to compute it from personal data. The code is also printed on invoices.
This module adds a 'Fiscal Code' field to contacts (res.partner) and companies (res.company). For individuals, the code is automatically checked: it must be exactly 16 characters and pass an Italian validity test; otherwise Odoo blocks saving with an error. The field is automatically converted to uppercase as you type.
A 'Compute FC' button appears next to the Fiscal Code field on the contact form. It opens a wizard where you enter surname, first name, date of birth, city and province of birth, and sex. Odoo then calculates the fiscal code using the official Italian city code data included in the module. If the contact already has a different fiscal code, the wizard refuses to overwrite it and asks you to remove the existing one first. After computing, the contact is set as a person.
The module also adds the fiscal code to the company form (next to the VAT number) and to the invoice report: if the customer has a fiscal code, it is printed on the invoice.
You can search contacts by fiscal code using the standard search filters. The module relies on a built-in database of Italian city codes, which is read-only for regular users and editable by partner managers.
Depends on
Required by other modules
Models and fields (5)
- res.company · extends an existing modelfiscalcode
- res.partner · extends an existing modelfiscalcode (Fiscal Code)
- res.city.it.code · new modelname, notes, name_var (Name variation), province, var_date (Variation date), province_var (Province variation), cadastre_code (Belfiore cadastre code (not used anymore)), creation_date, national_code (National code), cadastre_code_var (Cadastre code variation), national_code_var (National code variation)
- wizard.compute.fc · new modelsex, birth_city (City of birth), birth_date (Date of birth), birth_province (Province), fiscalcode_surname (Surname), fiscalcode_firstname (First name)
- res.city.it.code.distinct · new modelname
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-03Confirmation status: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/l10n-italy.
terminal Installation and usage
OCA documentation · Odoo 16.0Installation
Source · Odoo 16.0Italiano
Installare il modulo Python: codicefiscale.
English
Install the Python package: codicefiscale.
Usage
Source · Odoo 16.0Italiano
Sulla scheda del partner fare clic sul pulsante Calcola CF per aprire la procedura guidata relativa al calcolo del codice fiscale.
English
Go to Partner and click "Compute FC" in order to open the wizard related to the fiscal code computation.
No verified information in OCA: Configuration.
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.
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.