[IMP] base,sales_team: define sales_team_dashboard view type only in sales_team module
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# -*- 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=[('sales_team_dashboard', 'Sales Team Dashboard')])
|
||||
@@ -147,7 +147,6 @@ class View(models.Model):
|
||||
('diagram', 'Diagram'),
|
||||
('gantt', 'Gantt'),
|
||||
('kanban', 'Kanban'),
|
||||
('sales_team_dashboard', 'Sales Team Dashboard'),
|
||||
('search', 'Search'),
|
||||
('qweb', 'QWeb')], string='View Type')
|
||||
arch = fields.Text(compute='_compute_arch', inverse='_inverse_arch', string='View Architecture', nodrop=True)
|
||||
|
||||
Reference in New Issue
Block a user