1# -*- coding: utf-8 -*- 2# Part of Odoo. See LICENSE file for full copyright and licensing details. 3 4from odoo import api, models, _ 5 6 7class Contact(models.AbstractModel): 8 _inherit = 'ir.qweb.field.contact' 9 10 @api.model 11 def get_available_options(self): 12 options = super(Contact, self).get_available_options() 13 options.update( 14 website_description=dict(type='boolean', string=_('Display the website description')), 15 UserBio=dict(type='boolean', string=_('Display the biography')), 16 badges=dict(type='boolean', string=_('Display the badges')) 17 ) 18 return options 19