Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Community Apps Dependencies | Show |
Lines of code | 905 |
Technical Name |
ndev_workflow_corezoid |
License | LGPL-3 |
Website | https://ndev.online |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Community Apps Dependencies | Show |
Lines of code | 905 |
Technical Name |
ndev_workflow_corezoid |
License | LGPL-3 |
Website | https://ndev.online |
Create Corezoid process

Configure payload and api call JSON-RPC to odoo server


Input parameters:
- url - http://odoo:8069/jsonrpc
- method - POST
- headers - ["Content-type":"application/json"]
- payload as javascript:
payload = { "jsonrpc":"2.0", "method":"call", "id":21971, "params": { "service":"object", "method":"execute", "args":[ "odoo16", //database name 2, //user ID, created API token "0459920563e8196bf3f0388b26c1b178ceacd8fd", //your odoo's API token "mail.activity", // object "create", // method { "res_model_id":Number(res_model_id), // is getting from workflow "res_id":Number(res_id), // is getting from workflow "date_deadline":"2023-07-14", "activity_type_id":8, // activity TYPE ID = approve "user_id": _user_id, // USER ID created the partner "summary":"Create Portal access for " + name, // `name` is getting from workflow "correlation_id" : "Message_qwiuy42", // Message which will wait answer "workflow_id" : _workflow_id } ] } } JSON.stringify(payload)
- activity_id - result.value

Add waiting callback from Odoo

Create Corezoid server

Link Corezoid process

Create Base Automation hook


Create new partner

Follow through process and create Task and Objects

Please log in to comment on this module