Hello everybody;
Can anyone help me know please why is my action not called.
action = {
'name': record.file_name,
'type': 'ir.actions.act_url',
'mimeType': "application/msword",
'url':
base_url + "web/content/?model=stock.picking&id=" + str(record.id)
+ "&filename_field=file_name&field=file_test&download=true",
'target': 'new',
}
return action
Thanks a lot in advance.
Best regards.
i think you may need / before web/content. Like this : base_url + "/web/content
if this is not the problem, can you show us the odoo logs? the error should be there.
Waiting for your reply to this.