Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADD] event_kanban_view_optimized #62

Merged
merged 2 commits into from
Nov 9, 2016

Conversation

antespi
Copy link
Contributor

@antespi antespi commented Nov 7, 2016

Event kanban view optimized

Event kanban view computes is_subscribed field per each event and loading time
is degraded when events have many registrations. This addon removes this field
from kanban view in order to optimize loading time.

@Tecnativa

<field name="priority" eval="99999"/>
<field name="arch" type="xml">
<field name="is_subscribed" position="replace"/>
<div groups="base.group_user,base.group_portal" position="replace"/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this replace?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rafaelbn rafaelbn added this to the 8.0 milestone Nov 7, 2016
Copy link
Member

@rafaelbn rafaelbn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tested in production environment of a customers as in runbot there is not such an amount of events an registries.

Event kanban view optimized
===========================

Event kanban view computes ``is_subscribed`` field per each event and loading time
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"per event" or "for each event"

@yajo yajo merged commit f9c5ba6 into OCA:8.0 Nov 9, 2016
@yajo yajo deleted the 8.0-event_kanban_view_optimized branch November 9, 2016 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants