14 lines
360 B
Python
14 lines
360 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class View(models.Model):
|
|
_inherit = 'ir.ui.view'
|
|
|
|
type = fields.Selection(selection_add=[('map', "Map")])
|
|
|
|
def _get_view_info(self):
|
|
return {'map': {'icon': 'fa fa-map-marker'}} | super()._get_view_info()
|