Odoo: How to add a PDF via the API

here is a test