116
116
form_obj = self.browse(cr, uid, ids, context)
118
118
if not fields.fiscalcode_surname or not fields.fiscalcode_firstname or not fields.birth_date or not fields.birth_city or not fields.sex:
120
122
birth_date = datetime.datetime.strptime(fields.birth_date, "%Y-%m-%d")
121
123
CF = self._codicefiscale(fields.fiscalcode_surname, fields.fiscalcode_firstname, str(birth_date.day),
122
124
str(birth_date.month), str(birth_date.year), fields.sex,