From 3ad9263f68eede9c30beb3cfdd2c3d4289332a1f Mon Sep 17 00:00:00 2001 From: Youssef ELOUAHBY Date: Tue, 19 May 2020 23:23:00 +0000 Subject: [PATCH 1/2] make season default filter active on activity action --- golem_activity/views/golem_activity_views.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/golem_activity/views/golem_activity_views.xml b/golem_activity/views/golem_activity_views.xml index 9b2aa07..0e44032 100644 --- a/golem_activity/views/golem_activity_views.xml +++ b/golem_activity/views/golem_activity_views.xml @@ -187,7 +187,8 @@ along with this program. If not, see . + res_model="golem.activity" view_mode="tree,form,calendar" + context="{'search_default_season_default': 1}"/> Date: Thu, 28 May 2020 09:22:28 +0200 Subject: [PATCH 2/2] [IMP]GOLEM Activity : show only default season per default --- golem_activity/__manifest__.py | 4 ++-- golem_activity/views/golem_activity_views.xml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/golem_activity/__manifest__.py b/golem_activity/__manifest__.py index af0e1d0..d739c0b 100644 --- a/golem_activity/__manifest__.py +++ b/golem_activity/__manifest__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2016-2019 Fabien Bourgeois +# Copyright 2016-2020 Fabien Bourgeois # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -19,7 +19,7 @@ 'name': 'GOLEM activities', 'summary': 'Extends Odoo products for multi-activity', 'description': 'Extends Odoo products for multi-activity', - 'version': '10.0.2.8.0', + 'version': '10.0.2.8.1', 'category': 'GOLEM', 'author': 'Fabien Bourgeois, Michel Dessenne', 'license': 'AGPL-3', diff --git a/golem_activity/views/golem_activity_views.xml b/golem_activity/views/golem_activity_views.xml index 0e44032..8a6d0db 100644 --- a/golem_activity/views/golem_activity_views.xml +++ b/golem_activity/views/golem_activity_views.xml @@ -1,6 +1,7 @@