English Русский Українська Deutsch Français

Connect Odoo to erp2pdf.com: install the connector step by step

Install the free Dynamic PDF Report Builder connector in Odoo, click Connect, allow the connection on erp2pdf.com, and print invoices, quotations and purchase orders from a design you picked in Studio. No keys to copy, no QWeb.

Before you start

One Odoo per workspace. Your erp2pdf.com workspace is locked to the address of the first Odoo that connects to it, and calls from any other address are refused. Check the address in step 2 before you connect. If you move Odoo later, write to [email protected] to unlock it.

Step 1. Install the module in Odoo

The connector is free and listed in the Odoo Apps Store as Dynamic PDF Report Builder - Drag & Drop Studio; the current version is 1.9. Download it from the Apps Store: for Odoo 18, for Odoo 19 or for Odoo 20.

Unzip it and copy the pdf_builder_connector folder into a directory on your Odoo addons path (on Odoo.sh, add it to your repository), then in Odoo:

  1. Turn on developer mode (Settings → Activate the developer mode).
  2. Open Apps and click Update Apps List.
  3. Remove the Apps filter from the search bar, search for Dynamic PDF, and click Activate on Dynamic PDF Report Builder - Drag & Drop Studio.
Dynamic PDF Report Builder - Drag & Drop Studio in the Odoo Apps list with an Activate button

Upgrading from an older version? Replace the folder with the new one, click Update Apps List, then Upgrade on the module. Your connection, default templates and settings are kept.

Step 2. Check your Odoo's public address

Open Settings → Technical → System Parameters (developer mode) and check web.base.url. It must be the https address your users and erp2pdf.com reach Odoo at, for example https://erp.your-company.com — not http://localhost:8069 or an internal IP.

Connect shows this address on erp2pdf.com for you to check, and your workspace is locked to it.

Step 3. Click Connect to erp2pdf.com

Open Settings → PDF Builder Connector and click Connect to erp2pdf.com.

Settings, PDF Builder Connector in Odoo with the Connect to erp2pdf.com button above the manual fields

Odoo shows a code and opens erp2pdf.com in a new tab. Keep the Odoo tab open: it continues by itself once you allow the connection. The code is valid for 30 minutes.

The Connect to erp2pdf.com page in Odoo showing the code and waiting for the confirmation

Step 4. Check the code and allow the connection

On erp2pdf.com, sign in, or create a free account: you come back to this page afterwards. Then check two things:

Choose what Studio may read from this Odoo. Field structure only lets Studio list your models and fields and preview your templates with sample values; no customer, order or invoice data leaves Odoo while you design. Live previews also lets Studio read the record you preview, one at a time, so the canvas shows your real data. You can change this later in your cabinet. Either way, the documents Odoo prints are rendered from the data Odoo sends with each request.

Click Allow and connect. If you did not click Connect in your Odoo just now, click Decline.

The erp2pdf.com Connect Odoo page: the Odoo address, company, database, versions and code, the workspace, and the choice between field structure only and live previews
The address, company and code your Odoo reported, with the same code as the Odoo tab.
erp2pdf.com: Odoo is connected, go back to Odoo

Back in Odoo the page says Connected: Odoo has saved the SaaS URL, the API token and the HMAC secret by itself and loaded your templates. The token and secret go from erp2pdf.com straight to your Odoo server, never through the browser.

The Connect to erp2pdf.com page in Odoo saying Connected, with the workspace name and a Back to Settings button

Step 5. Pick a design in Studio

Open Studio on erp2pdf.com and click New. Pick the document type (invoice, quotation, purchase order, product sheet, or a blank page for any other Odoo model), then a style: classic, folder tab, wave, diagonal, sidebar, big total, light, boxed, striped, bubble or elegant. Every card is a real render of a sample document. The colour palettes and the font pairings above the cards re-skin all of them; the large preview shows the one you picked.

The New template dialog in Studio: document types, colour palettes, a font select and eleven invoice styles, with the Wave style previewed large

Click Create. The template opens with the fields of the Odoo model in place: partner, dates, the lines table and the totals. The Design section of the page settings changes the palette and the fonts later.

Step 6. Change the content without code

Click a text on the page to edit it in the panel on the right. Text is plain text and every Odoo field is a chip:

Studio: the invoice with an Amount in words line selected; the Total chip's popover offers Money, Number, Percent and In words, each with its example
The total printed in words, from a chip. Sample data.

Studio saves as you go. Header and footer parts, translations of every text (a glossary fills the common terms) and Preview PDF are in the same editor.

Step 7. Make the template Odoo's own PDF

In Odoo open Settings → PDF Builder Connector → Default templates and add a row per model: sales orders, invoices, purchase orders, deliveries or any other model, each with one of your templates bound to it. Refresh templates reloads the list after you add or rename templates in Studio.

Under Replace Odoo reports pick the reports of that model that should come from your template, such as the quotation / order report or the invoice reports. Odoo's Print menu, the PDF attached by Send and by the order confirmation email, the PDF stored on a sent invoice and the customer portal download then all use your design. Preview opens the template on your latest document of that model, with a PREVIEW watermark and no credits used.

Default templates in Odoo: journal entries, purchase orders and sales orders, each with its template, the Odoo reports it replaces and a Preview button

Step 8. Generate a PDF from any selection

  1. Open a quotation, an invoice, a product or a contact in Odoo, or select several in a list; they go into one PDF.
  2. Click the gear icon (Actions) and choose Generate PDF (PDF Builder).
  3. Pick a template. Only templates bound to the record's model are listed, the default one preselected.
  4. Click Generate PDF.
The Actions menu of an Odoo quotation with Generate PDF (PDF Builder) and Send by email (erp2pdf)

The PDF downloads and is attached to the record's chatter.

Step 9. Send emails designed in Studio (Pro plan)

On the Pro plan you can also design the email itself. In Studio open the Emails tab and start from the quotation or invoice email, or a blank one. Build it from blocks — a header with your company name or logo, text, a button, the line items, a summary of the totals — or switch to the Code view and edit the HTML. Drag fields from the list into the subject or any block; the preview shows the email filled with a record. Under Attach PDF choose the PDF template to attach. Translations work as for PDFs: Odoo sends the email in the customer's language.

In Odoo, open a quotation or an invoice and choose Send by email (erp2pdf) from the gear menu. Pick the email template, check the recipients, subject and body, and click Send. The email goes out through Odoo's own mail server, the PDF is attached in the customer's language, and the message is logged in the chatter.

Connect manually

If erp2pdf.com cannot reach your Odoo from the internet, Connect ends with erp2pdf.com could not reach this Odoo at its public address and nothing is connected. Use a token instead:

  1. On erp2pdf.com open Connect Odoo and choose or connect manually, or create an Odoo token under API tokens in your cabinet.
  2. Copy the API token and the HMAC secret. They are shown only once: we keep the token only as a hash and the secret encrypted. Treat the pair like a password.
  3. In Odoo open Settings → PDF Builder Connector and fill in the fields under Or connect manually, then click Save.
FieldWhat to enter
SaaS URLhttps://erp2pdf.com
This Odoo's Connector URLYour Odoo's public address, the same as web.base.url. Leave it empty to use web.base.url.
API TokenThe API token
HMAC SecretThe HMAC secret
Extra models for StudioUsually empty. Sales orders, purchase orders, invoices, contacts, products and companies are covered, and so are the models you give a default template; list other models here only if your templates need them, e.g. stock.picking.

Paste the values exactly, with no spaces or line breaks. The first call from Odoo locks your workspace to its address and fills in the connector URL on the token in your cabinet.

If something goes wrong

Errors appear on Odoo's Connect page, or in the Generate PDF dialog as code: details.

The Generate PDF dialog in Odoo showing an invalid_token error
ErrorWhat it meansWhat to do
erp2pdf.com could not reach this OdooConnect could not verify your Odoo at its public addressCheck web.base.url (step 2) and that your Odoo answers on https from the internet, or connect manually
The code expiredThe code was not confirmed within 30 minutes, or was used alreadyClick Try again in Odoo for a new code
The connection was declinedSomeone clicked Decline on erp2pdf.comClick Try again and allow it
This workspace is already connected to …The workspace is locked to another Odoo addressPick another workspace on the Connect page, or write to [email protected] to move it
not_configuredSaaS URL, API Token or HMAC Secret is emptyClick Connect again, or fill in all three and save
401 invalid_tokenThe API token is wrong, revoked or deletedClick Connect again, or create a new token and paste both new values
401 invalid_signatureThe HMAC secret doesn't match the token, or was pasted with extra charactersPaste the secret again, exactly as shown
401 stale_timestampYour Odoo server's clock is more than 5 minutes offSync the server clock (NTP)
403 domain_mismatchYour workspace is locked to a different Odoo addressCheck web.base.url and the Connector URL. If you moved Odoo, write to [email protected] to unlock
400 invalid_originThe Odoo address isn't a valid https://host (plain http is refused)Fix web.base.url or the Connector URL
402 upgrade_requiredThe template uses a Pro feature: an email template, a custom font or a print profileUpgrade to Pro in the cabinet, or remove the feature from the template
402 insufficient_creditsNot enough credits left for this PDFTop up credits or wait for the next billing cycle
404 template_not_foundThe template was deleted in StudioClick Refresh templates, or reopen the dialog
413 payload_too_largeToo many records or too much data in one PDFSelect fewer records (up to 200)
transportOdoo couldn't reach erp2pdf.comCheck the SaaS URL and that your Odoo server can make outgoing https requests
No templates in the listNo Studio template is bound to this modelIn Studio, bind a template to the model you print from, then click Refresh templates

Remove the connection

What data is shared

No Odoo yet, or want to see the result first? The demo opens on a finished catalog page built from sample products.

Open the live demo