5.23.56. Upload data to Odoo

<< Click to Display Table of Contents >>

Navigation:  5. Detailed description of the Actions > 5.23. Cloud services >

5.23.56. Upload data to Odoo

 
Icon: clip0898

 

Function: OdooWrite

 

Property window:

 

clip0899

 
Short description:

 

Upload Data to Odoo.

 

Long Description:

 
This Action also works when accessing the web through a PROXY server: Please consult the section 5.1.9.2. for more details on how to setup the parameter P6 for web-access through a PROXY server.

 

To use this Action, you’ll need to get several parameters from the Odoo Website (i.e. you need the parameters P3, P4 and P5). Please see the section 5.23.55.1 for more details on how to get these parameters.

 

Once you have completed the “setup process” described in the section 5.23.55.1, you can use the parameters P1 and P2 to upload data to your Odoo server. The column’s names inside the input table of the OdooWrite action in Anatella must match the column’s names of the table inside the Odoo server. Inside some Odoo tables, some columns have the “one2many” or the “many2many” types. For example, in the screenshot here below, the “child_ids” column is of the “one2many” type:
 

clip0900

 
 
For these types of columns, Odoo expects to get cells that each contain a XML structure that represents an array. For example, the array [4,5,6] is represented in “Odoo XML” as:

 

clip0901