Repository
OCA/l10n-italy · module folder · Try on Runboat
Module version
1.0.4
Category
Localization/Italy
Folder size
1.33 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-italy
Last tracking update
2026-08-07 08:09:15
Authors
Odoo Community Association (OCA), Apulia Software, Odoo Italia Network, Link IT s.r.l.
Maintainers
Odoo Community Association (OCA), Apulia Software, Odoo Italia Network, Link IT s.r.l.
Committers
Simone Rubino, Weblate, OCA-git-bot, oca-ci, gianmarco, Marco Colombo, odooNextev, LorenzoC0
Odoo dependencies
Python dependencies
codicefiscale
System dependencies
None
Required by
l10n_it_fatturapa, l10n_it_financial_statement_eu, l10n_it_fiscalcode_sale, l10n_it_hr_payroll_document, l10n_it_pos_fiscalcode, l10n_it_riba_oca, l10n_it_vat_statement_communication, l10n_it_website_portal_fiscalcode, l10n_it_website_sale_fiscalcode
Description
**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.

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
print_invoice_inherit print_invoice_inherit ir.ui.view qweb Inherits account.report_invoice_document
view_company_form_fc view_company_form_fc res.company form Inherits base.view_company_form
view_partner_form_fiscalcode_button res.partner.fiscalcode.button res.partner form Inherits l10n_it_fiscalcode.view_partner_form_fiscalcode_data
view_partner_form_fiscalcode_data res.partner.fiscalcode.data res.partner form Inherits base.view_partner_form
view_res_partner_filter_fiscalcode_data res.partner.fiscalcode.filter res.partner search Inherits base.view_res_partner_filter
wizard_compute_fc_form wizard.compute.fc.form wizard.compute.fc form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (11)
  • cadastre_code Char
    size=4 args: 'Belfiore cadastre code (not used anymore)'
  • cadastre_code_var Char
    size=4 args: 'Cadastre code variation'
  • creation_date Date
  • name Char
  • name_var Char
    size=100 args: 'Name variation'
  • national_code Char
    size=4 args: 'National code'
  • national_code_var Char
    size=4 args: 'National code variation'
  • notes Char
    size=4
  • province Char
    size=5
  • province_var Char
    size=5 args: 'Province variation'
  • var_date Date
    args: 'Variation date'
Public methods (0)

No public methods.

New fields (1)
  • name Char
    size=100
Public methods (1)
  • init(self)

New fields (1)
  • fiscalcode Char
    readonly=False related='partner_id.fiscalcode' store=True
Public methods (0)

No public methods.

New fields (1)
  • fiscalcode Char
    help='Italian Fiscal Code' size=16 args: 'Fiscal Code'
Public methods (1)
  • check_fiscalcode(self)
    @api.constrains('fiscalcode', 'company_type')

New fields (6)
  • birth_city Many2one → res.city.it.code.distinct
    required=True string='City of birth' args: 'res.city.it.code.distinct'
  • birth_date Date
    required=True args: 'Date of birth'
  • birth_province Many2one → res.country.state
    required=True string='Province' args: 'res.country.state'
  • fiscalcode_firstname Char
    required=True size=64 args: 'First name'
  • fiscalcode_surname Char
    required=True size=64 args: 'Surname'
  • sex Selection
    required=True args: [('M', 'Male'), ('F', 'Female')]
Public methods (3)
  • compute_fc(self)
  • onchange_birth_city(self)
    @api.onchange('birth_city')
  • onchange_birth_province(self)
    @api.onchange('birth_province')

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…