Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
491 Weergaven

I want to pass res_partner_ids in the URL to the calendar view, so that when a user selects a time slot, a popover opens with the selected partners pre-filled.

For example, if I go to:

http://localhost:8069/odoo/calendar?res_partner_ids=5,6,7

I'm redirected to the default URL: http://localhost:8069/odoo/calendar

Then, when I'm on the http://localhost:8069/odoo/calendar page and open the calendar event popover when I select a time, I want it to automatically include the partners from res_partner_ids in the list of attendees.

Avatar
Annuleer

This is not how actions in Odoo work. There is no implementation of GET parameters in this way. Where do you want to have such a link added in the first place?
As an example: See any Activity (in Chatter) -> Meeting: You will be redirect to /odoo/calendar and upon clicking a time slot, for example the name of the meeting to be created reflects the record this meeting is create for. This whole functionality is based on the context based on by the action actually triggering the rendering of the view.

*based on the context passed on

Gerelateerde posts Antwoorden Weergaven Activiteit
0
apr. 19
3149
1
feb. 16
6610
1
feb. 16
8142
0
mrt. 15
4234
1
mei 25
625