odoo_xmlrpc_twisted.functions.create_dummy_product

Create a minimal (dummy) product with an auto-assigned RFID from a sequence. Returns the new product ID (product.product).

Functions

create_dummy_product(partner_id)

Create a dummy product with only x_rfid_id and x_partner_id.

odoo_xmlrpc_twisted.functions.create_dummy_product.create_dummy_product(partner_id)[source]

Create a dummy product with only x_rfid_id and x_partner_id. The RFID value is auto-generated via ir.sequence. Returns the new product ID.