[REF]GOLEM Event : small enhancements

This commit is contained in:
Fabien BOURGEOIS 2020-05-28 09:41:57 +02:00
parent e0901a879e
commit 71f933fdb3
3 changed files with 23 additions and 21 deletions

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2020 Fabien Bourgeois <fabien@yaltik.com>
# Copyright 2020 Youssef EL OUAHBY <youssef@yaltik.com> # Copyright 2020 Youssef EL OUAHBY <youssef@yaltik.com>
# Copyright 2020 Fabien Bourgeois <fabien@yaltik.com>
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2020 Fabien Bourgeois <fabien@yaltik.com>
# Copyright 2020 Youssef EL OUAHBY <youssef@yaltik.com> # Copyright 2020 Youssef EL OUAHBY <youssef@yaltik.com>
# Copyright 2020 Fabien Bourgeois <fabien@yaltik.com>
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
@ -20,14 +20,12 @@
'name': 'GOLEM events', 'name': 'GOLEM events',
'summary': 'Extends Odoo events', 'summary': 'Extends Odoo events',
'description': 'Extends Odoo events', 'description': 'Extends Odoo events',
'version': '10.0.0.0.1', 'version': '10.0.0.1.0',
'category': 'GOLEM', 'category': 'GOLEM',
'author': 'Fabien Bourgeois, Youssef EL OUAHBY', 'author': 'Fabien Bourgeois, Youssef EL OUAHBY',
'license': 'AGPL-3', 'license': 'AGPL-3',
'application': True, 'application': False,
'installable': True, 'installable': True,
'depends': ['event'], 'depends': ['golem_base', 'event'],
'data': [ 'data': ['views/event_views.xml']
'views/event_views.xml',
]
} }

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- <!--
Copyright 2020 Fabien Bourgeois <fabien@yaltik.com>
Copyright 2020 Youssef EL OUAHBY <youssef@yaltik.com> Copyright 2020 Youssef EL OUAHBY <youssef@yaltik.com>
Copyright 2020 Fabien Bourgeois <fabien@yaltik.com>
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU Affero General Public License as published by
@ -16,10 +16,13 @@ GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<odoo> <odoo>
<data> <data>
<!-- Search -->
<record id="golem_event_inherit_view_event_search" model="ir.ui.view"> <record id="golem_event_inherit_view_event_search" model="ir.ui.view">
<field name="name">Golem Event Tracks</field> <field name="name">Event Search Adaptations</field>
<field name="inherit_id" ref="event.view_event_search"/> <field name="inherit_id" ref="event.view_event_search"/>
<field name="model">event.event</field> <field name="model">event.event</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
@ -28,9 +31,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
domain="['&amp;', ('state', '!=', 'cancel'), '|', domain="['&amp;', ('state', '!=', 'cancel'), '|',
('date_begin','&gt;=', datetime.datetime.combine(context_today(), datetime.time(0,0,0))), ('date_begin','&gt;=', datetime.datetime.combine(context_today(), datetime.time(0,0,0))),
('date_end','&gt;=', datetime.datetime.combine(context_today(), datetime.time(0,0,0)))]" ('date_end','&gt;=', datetime.datetime.combine(context_today(), datetime.time(0,0,0)))]"
help="Upcoming events from today" /> help="Current and upcoming events from today" />
</filter> </filter>
</field> </field>
</record> </record>
</data> </data>
</odoo> </odoo>