You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
951 B
22 lines
951 B
# -*- coding: utf-8 -*-
|
|
|
|
from odoo import api, models, fields
|
|
|
|
class FirstNameLastName(models.Model):
|
|
_inherit = 'res.partner'
|
|
|
|
dob = fields.Date(string="Date of Birth")
|
|
nationality = fields.Char(string="Nationality")
|
|
personal_number = fields.Char(string="Personal Number")
|
|
personal_email = fields.Char(string="Email")
|
|
marital = fields.Selection([
|
|
('single', 'Single'),
|
|
('married', 'Married'),
|
|
('cohabitant', 'Legal Cohabitant'),
|
|
('widower', 'Widower'),
|
|
('divorced', 'Divorced')], string='Marital Status')
|
|
social_twitter = fields.Char('Twitter Account')
|
|
social_facebook = fields.Char('Facebook Account')
|
|
social_github = fields.Char('GitHub Account')
|
|
social_linkedin = fields.Char('LinkedIn Account')
|
|
social_youtube = fields.Char('Youtube Account')
|