From 3ad9263f68eede9c30beb3cfdd2c3d4289332a1f Mon Sep 17 00:00:00 2001 From: Youssef ELOUAHBY Date: Tue, 19 May 2020 23:23:00 +0000 Subject: [PATCH 1/7] 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: Wed, 20 May 2020 00:06:57 +0000 Subject: [PATCH 2/7] Change upcoming filter to current & upcoming on event search --- golem_activity/__manifest__.py | 3 ++- golem_activity/views/event_views.xml | 36 ++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 golem_activity/views/event_views.xml diff --git a/golem_activity/__manifest__.py b/golem_activity/__manifest__.py index af0e1d0..2f9d569 100644 --- a/golem_activity/__manifest__.py +++ b/golem_activity/__manifest__.py @@ -25,9 +25,10 @@ 'license': 'AGPL-3', 'application': True, 'installable': True, - 'depends': ['product', 'account', 'golem_base', 'golem_season'], + 'depends': ['product', 'account', 'golem_base', 'golem_season', 'event'], 'data': ['security/ir.model.access.csv', 'data/golem_activity_data.xml', 'views/golem_activity_views.xml', + 'views/event_views.xml', 'report/golem_activity_report_templates.xml'] } diff --git a/golem_activity/views/event_views.xml b/golem_activity/views/event_views.xml new file mode 100644 index 0000000..17a77da --- /dev/null +++ b/golem_activity/views/event_views.xml @@ -0,0 +1,36 @@ + + + + + + Golem Activity Event Tracks + + event.event + + + + + + + + From 60d9e37d9b63e73737b7814a135bb17a922b7771 Mon Sep 17 00:00:00 2001 From: Youssef ELOUAHBY Date: Wed, 20 May 2020 13:58:18 +0000 Subject: [PATCH 3/7] remove event code from golem_activity --- golem_activity/__manifest__.py | 1 - golem_activity/views/event_views.xml | 36 ---------------------------- 2 files changed, 37 deletions(-) delete mode 100644 golem_activity/views/event_views.xml diff --git a/golem_activity/__manifest__.py b/golem_activity/__manifest__.py index 2f9d569..76a3b10 100644 --- a/golem_activity/__manifest__.py +++ b/golem_activity/__manifest__.py @@ -29,6 +29,5 @@ 'data': ['security/ir.model.access.csv', 'data/golem_activity_data.xml', 'views/golem_activity_views.xml', - 'views/event_views.xml', 'report/golem_activity_report_templates.xml'] } diff --git a/golem_activity/views/event_views.xml b/golem_activity/views/event_views.xml deleted file mode 100644 index 17a77da..0000000 --- a/golem_activity/views/event_views.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - Golem Activity Event Tracks - - event.event - - - - - - - - From adc449fca58c7d4b6fe2824d0f95081111443016 Mon Sep 17 00:00:00 2001 From: Youssef ELOUAHBY Date: Wed, 20 May 2020 14:24:49 +0000 Subject: [PATCH 4/7] create golem_event and edit upcoming filter --- golem_event/__init__.py | 17 +++++++++++ golem_event/__manifest__.py | 33 ++++++++++++++++++++++ golem_event/static/description/icon.png | Bin 0 -> 4385 bytes golem_event/views/event_views.xml | 36 ++++++++++++++++++++++++ 4 files changed, 86 insertions(+) create mode 100644 golem_event/__init__.py create mode 100644 golem_event/__manifest__.py create mode 100644 golem_event/static/description/icon.png create mode 100644 golem_event/views/event_views.xml diff --git a/golem_event/__init__.py b/golem_event/__init__.py new file mode 100644 index 0000000..40e5d37 --- /dev/null +++ b/golem_event/__init__.py @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- + +# Copyright 2020 Fabien Bourgeois +# Copyright 2020 Youssef EL OUAHBY +# +# 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 . diff --git a/golem_event/__manifest__.py b/golem_event/__manifest__.py new file mode 100644 index 0000000..9415613 --- /dev/null +++ b/golem_event/__manifest__.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- + +# Copyright 2020 Fabien Bourgeois +# Copyright 2020 Youssef EL OUAHBY +# +# 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 . + +{ + 'name': 'GOLEM events', + 'summary': 'Extends Odoo events', + 'description': 'Extends Odoo events', + 'version': '10.0.0.0.1', + 'category': 'GOLEM', + 'author': 'Fabien Bourgeois, Youssef EL OUAHBY', + 'license': 'AGPL-3', + 'application': True, + 'installable': True, + 'depends': ['event'], + 'data': [ + 'views/event_views.xml', + ] +} diff --git a/golem_event/static/description/icon.png b/golem_event/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..4f96aee5ef3904fab6f0a184333dc555da5b5eda GIT binary patch literal 4385 zcmV++5#H{JP)?rvT-M`FR>3 z0Hu#XX8G4SH$0ZD$hh5)6 z-?|>O?3F+{0!|}FTHTUPHd0f=5;>flrj%q7o4OWL)L?ug-&=YvQ}%!EAF9Rk4gnX-{Ttedyeji;lrl`X%JN^>D=v=tDmI0K(euIbBfa8$#I51 z|HzNG*6#;L1k5NXg_Mv$FuuzZ5b(qT9Sq06XvewT9I9?{K+K`A*eNP+cA)LEKE%6K za6B1uorD6*p7f#i+c`sCtDr^%2tnI{g!#J|QL@vCqyq5LfAgB~;sF&K?r+21T@9FB zdKLcR)jB+~y$l|w7fhenIDvpdq)r@fJcaf5o<&!)3;?iuIQ;D|d~kSq)5|X1A)=Gw zu4j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Phz<-TiMK#|t-~!tS*JbEc7zcI;3BCwKQk*Y&hIGF$MnTE-Ai zNGy!1B@V3mumW=zRwJQBpo76mUFg+9*#6Q!G`}0q*fnc!&%xjPdx1H6(7|A*Zn#Ub z2QO;?0b@`k1vNOmJpO)TDenH~g%F7Y2^NN;Cr}_%qV^7FMz5KQg{hf|tH@$%oY}Ih zz0rp0nt7;)as>6O^H9CifxrGX4_!?%ZdjF<@i>^euARE!nc>K2!kBb`IvB!j>ElXY zjfi{K6=yHo#~B1_g}ZQa;AM3S1IS3jKUQhVI-dL}x(9k-n_T{*%6i6+M9?+oF?lBjGj$q1K73D^m)fKx{bn zRvhtwn)MrL{!0vUoK5nMn~;)7mX2!O7)g@sEpf&5GPH zohnuO7*4#`i%*^pLJDfIW$;Amcr5EPk>MKt)EjQ*-JOHlz{r~9p?Z5iG|S{(18F + + + + + Golem Event Tracks + + event.event + + + + + + + + From fab585d247e1c49980ad243470e3ec9b8d3a4db1 Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Thu, 28 May 2020 09:22:28 +0200 Subject: [PATCH 5/7] [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 @@ From e0901a879e04e51c083ffb5d73f002f4be1877a2 Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Thu, 28 May 2020 09:41:06 +0200 Subject: [PATCH 6/7] [FIX]GOLEM Activity should not install event --- golem_activity/__manifest__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golem_activity/__manifest__.py b/golem_activity/__manifest__.py index b721f84..d739c0b 100644 --- a/golem_activity/__manifest__.py +++ b/golem_activity/__manifest__.py @@ -25,7 +25,7 @@ 'license': 'AGPL-3', 'application': True, 'installable': True, - 'depends': ['product', 'account', 'golem_base', 'golem_season', 'event'], + 'depends': ['product', 'account', 'golem_base', 'golem_season'], 'data': ['security/ir.model.access.csv', 'data/golem_activity_data.xml', 'views/golem_activity_views.xml', From 71f933fdb388b6b127ac7f1e64f1aad03b3f41f5 Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Thu, 28 May 2020 09:41:57 +0200 Subject: [PATCH 7/7] [REF]GOLEM Event : small enhancements --- golem_event/__init__.py | 2 +- golem_event/__manifest__.py | 12 +++++------- golem_event/views/event_views.xml | 30 +++++++++++++++++------------- 3 files changed, 23 insertions(+), 21 deletions(-) diff --git a/golem_event/__init__.py b/golem_event/__init__.py index 40e5d37..2e1bb93 100644 --- a/golem_event/__init__.py +++ b/golem_event/__init__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Fabien Bourgeois # Copyright 2020 Youssef EL OUAHBY +# Copyright 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 diff --git a/golem_event/__manifest__.py b/golem_event/__manifest__.py index 9415613..74ea473 100644 --- a/golem_event/__manifest__.py +++ b/golem_event/__manifest__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Fabien Bourgeois # Copyright 2020 Youssef EL OUAHBY +# Copyright 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 @@ -20,14 +20,12 @@ 'name': 'GOLEM events', 'summary': 'Extends Odoo events', 'description': 'Extends Odoo events', - 'version': '10.0.0.0.1', + 'version': '10.0.0.1.0', 'category': 'GOLEM', 'author': 'Fabien Bourgeois, Youssef EL OUAHBY', 'license': 'AGPL-3', - 'application': True, + 'application': False, 'installable': True, - 'depends': ['event'], - 'data': [ - 'views/event_views.xml', - ] + 'depends': ['golem_base', 'event'], + 'data': ['views/event_views.xml'] } diff --git a/golem_event/views/event_views.xml b/golem_event/views/event_views.xml index 60b7187..029e525 100644 --- a/golem_event/views/event_views.xml +++ b/golem_event/views/event_views.xml @@ -1,7 +1,7 @@ + - - - Golem Event Tracks + + + + + Event Search Adaptations event.event - - - + + + - - + + +