odoo_xmlrpc_twisted.support.support_create_product

Supporting program to test the module odoo_xmlrpc_twisted.functions.create_product().

Functions

support_create_product(custom_partner_id, ...)

Function to test the module "create_product"

odoo_xmlrpc_twisted.support.support_create_product.support_create_product(custom_partner_id, custom_image_name)[source]

Function to test the module “create_product”

A picture stored in the current directory will be captured to a stream and will be handled over to the function “create_product” from that module.

Returns:

The ID of the created product in Odoo, or None if creation failed

Return type:

int