odoo_xmlrpc_twisted.functions.get_picture_string¶
Get the picture in form of a data string from a specific product to display it on the dasboard of the user.
Functions
|
Get a specific picture of a product from the odoo table 'ir.attachment' with the parameter: - name (for example 'image_128_front') - res_field (for example 'image_128') Return the picture as a string. |
- odoo_xmlrpc_twisted.functions.get_picture_string.get_picture_string(product_id, res_field, name)[source]¶
Get a specific picture of a product from the odoo table ‘ir.attachment’ with the parameter: - name (for example ‘image_128_front’) - res_field (for example ‘image_128’) Return the picture as a string.