mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[ADD] demo data;
This commit is contained in:
@@ -56,6 +56,8 @@
|
||||
'css': ['static/src/css/tile.css'],
|
||||
|
||||
'demo': [
|
||||
'demo/res_groups.yml',
|
||||
'demo/tile_tile.yml',
|
||||
],
|
||||
'test': [
|
||||
],
|
||||
|
||||
25
web_dashboard_tile/demo/res_groups.yml
Normal file
25
web_dashboard_tile/demo/res_groups.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2015-Today GRAP
|
||||
# @author Sylvain LE GAL (https://twitter.com/legalsylvain)
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
- !record {model: res.groups, id: base.group_no_one}:
|
||||
users:
|
||||
- base.user_root
|
||||
35
web_dashboard_tile/demo/tile_tile.yml
Normal file
35
web_dashboard_tile/demo/tile_tile.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2015-Today GRAP
|
||||
# @author Sylvain LE GAL (https://twitter.com/legalsylvain)
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
# domain: u"[('state', 'in', ['installed', 'to upgrade', 'to remove']), (u'author', u'ilike', u'Odoo Community Association (OCA)')]"
|
||||
- !record {model: tile.tile, id: installed_modules}:
|
||||
name: Installed Modules
|
||||
model_id: base.model_ir_module_module
|
||||
domain: [['state', 'in', ['installed', 'to upgrade', 'to remove']]]
|
||||
action_id: base.open_module_tree
|
||||
color: 1
|
||||
|
||||
- !record {model: tile.tile, id: installed_OCA_modules}:
|
||||
name: Installed OCA Modules
|
||||
model_id: base.model_ir_module_module
|
||||
domain: [['state', 'in', ['installed', 'to upgrade', 'to remove']], ['author', 'ilike', 'Odoo Community Association (OCA)']]
|
||||
action_id: base.open_module_tree
|
||||
color: 2
|
||||
Reference in New Issue
Block a user