Hi,
I'm looking for a way to add default field values as a URL parameter.
Example: I want to open the form view to create a new helpdesk ticket, and automatically fill in for example the partner (assuming I know the ID beforehand), or the phone number.
Base url would be something like:
.com/web#cids=1&menu_id=227&action=326&active_id=1&model=helpdesk.ticket&view_type=form
Is there a possibility to add to this like a context parameter, to then automatically fill in 1 or more fields? looking for something like: "&context={'default_partner_id': 1}"
If this is not a possibility, how would I go about customizing this? Is there a specific function I can override to allow passing of context values? Looking for a generic solution, I want this functionality not just in helpdesk tickets but for example contacts as well.
Thanks!