Skip to Content
Menu

Corezoid integration

by
Odoo

3.50

v 16.0 Third Party 1
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies
Lines of code 905
Technical Name ndev_workflow_corezoid
LicenseLGPL-3
Websitehttps://ndev.online
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies
Lines of code 905
Technical Name ndev_workflow_corezoid
LicenseLGPL-3
Websitehttps://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)
                    
Return parameters
  • 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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.