-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
[16.0][IMP] resource_booking: combination_id as filter on calendar view. #141
Conversation
Hi @pedrobaeza, @ows-cloud, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have clear all the options of the field. Can you clarify them? I see also a lot of noise of adding the contributor just for this tiny change.
9eebf80
to
7b61b31
Compare
Good morning, yesterday while reviewing in depth, I found that the development was poorly designed. There were attributes that were unnecessary when modifying the combination_id field in the calendar view. Right now, for the functionality I wanted to implement, it is only necessary to add the attribute filters="1" so that a list appears in the right-hand sidebar to filter by combination_id. I also reviewed the other attributes since I was curious about what they actually do.
In summary, these attributes provide the necessary information to retrieve the data for the filter widget. |
Thanks for the extra information. Then please clean the PR only having the |
7b61b31
to
a7af8e5
Compare
@pedrobaeza, Ready. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ocabot merge minor
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 1849674. Thanks a lot for contributing to OCA. ❤️ |
Good morning, I would like to add this contribution to the resource_booking as I believe it is quite useful. The modification would allow filtering directly in the calendar view by the combination of resources, adding the
combination_id
field, similar to how the calendar addon works with contacts.