I'm trying to call a PHP script on an external server from an action server that triggers at a step change in the crm pipeline.
# to verify
record.write({'x_studio_info_demande' : 'test1'})
type_action = "MOVE_STAGE"
debug = "0"
param = "?debug=" + debug + "&type_action=" + type_action
action = {
"type": "ir.actions.act_url",
'url': "http://www.mywebsite.fr/API_ODOO.php%s" % param,
"target": "new",
}
The code seems to execute but the request does not work.
anyone have an idea?
Thanks