From 6933755fdde24ce7bbcf2a07206784e1c093f2da Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Sun, 18 Feb 2018 17:18:09 +0100 Subject: [PATCH] [ADD]GOLEM Resource : timetable own tree --- golem_resource/__manifest__.py | 3 +- .../views/golem_resource_timetable_views.xml | 37 +++++++++++++++++++ golem_resource/views/golem_resource_views.xml | 11 +----- 3 files changed, 40 insertions(+), 11 deletions(-) create mode 100644 golem_resource/views/golem_resource_timetable_views.xml diff --git a/golem_resource/__manifest__.py b/golem_resource/__manifest__.py index e663f4a..c99e531 100644 --- a/golem_resource/__manifest__.py +++ b/golem_resource/__manifest__.py @@ -20,7 +20,7 @@ 'name': 'GOLEM non-profit resources', 'summary': 'GOLEM resources management', 'description': ''' GOLEM resources management ''', - 'version': '10.0.1.4.0', + 'version': '10.0.1.5.0', 'category': 'GOLEM', 'author': 'Youssef El Ouahby, Fabien Bourgeois', 'license': 'AGPL-3', @@ -30,6 +30,7 @@ 'data': ['views/golem_resource_views.xml', 'views/golem_resource_type_views.xml', 'views/golem_resource_reservation_views.xml', + 'views/golem_resource_timetable_views.xml', 'wizard/golem_reservation_rejection_views.xml', 'security/ir.model.access.csv'] } diff --git a/golem_resource/views/golem_resource_timetable_views.xml b/golem_resource/views/golem_resource_timetable_views.xml new file mode 100644 index 0000000..9e532ea --- /dev/null +++ b/golem_resource/views/golem_resource_timetable_views.xml @@ -0,0 +1,37 @@ + + + + + + + + GOLEM Resource Timetable Tree + golem.resource.timetable + + + + + + + + + + + + diff --git a/golem_resource/views/golem_resource_views.xml b/golem_resource/views/golem_resource_views.xml index 3fb8442..d3f959b 100644 --- a/golem_resource/views/golem_resource_views.xml +++ b/golem_resource/views/golem_resource_views.xml @@ -73,16 +73,7 @@ along with this program. If not, see . - - - - - - - + attrs="{'readonly': [('id', '=', False)]}" />