All docs
Odoo setup
Credential: API key
The Odoo connector writes each article as a blog post of your Odoo website. It uses the JSON-2 API on Odoo 19 and later, and JSON-RPC on Odoo 16 to 18. Posts are unpublished by default: only signed-in Odoo users can see them.
Your Odoo must be on the internet over https. BirchSeek does not connect to private addresses.
Before you start
- Odoo Online and Odoo.sh give access to the external API on the Custom plan only. The One App Free and Standard plans do not. Self-hosted Odoo has no limit.
- Install the Blog app (Apps → search
Blog→ Activate). It also installs Website. - Use a user with the Website role Editor and Designer. To publish posts live, the user must also be able to publish.
Step 1 - create an API key
- Sign in as the user. Open your avatar → My Profile (or Preferences) → Account Security.
- Click New API Key. A user without a password must set one first.
- Name it
BirchSeek, choose a duration, and copy the key. Odoo shows it one time.
On Odoo 18 and later, a key of a user who is not an administrator lasts at most three months. Make a new key before it expires, and paste it into the connector. An administrator can make a persistent key.
Step 2 - connect in BirchSeek
| Setting | Meaning |
|---|---|
| Odoo URL | The site root, for example https://example.odoo.com |
| Login | The user’s login, usually an email |
| Database | Optional on odoo.com (the subdomain). Needed on Odoo 16 to 18 elsewhere, and on servers with several databases |
| API key | From step 1 |
| Blog id | Optional. Leave it empty if the website has one blog |
| Author contact id | Optional. Empty: the user of the API key |
| Post status | Unpublished (default) or Published. Applies when BirchSeek creates a post |
Step 3 - send a test
Send a test finds the API (/web/version answers from Odoo 19), signs in and lists your blogs. When the website has one blog, the test stores its id. When it has more, the test names each blog and its id: copy one into Blog id and test again. The test writes nothing.
What BirchSeek writes
Per article, on the blog.post model:
name(the title),seo_name(the slug),content(the article as HTML, without the title heading)website_meta_title,website_meta_descriptionandteaser_manual(the teaser)cover_properties: the cover imagetag_ids: your article’s tags, found by name or createdauthor_id: the author contact you setis_publishedandpost_date: from the post status and the publish date
The cover and the in-article images become public attachments, and the post shows them from your site. An image that fails links to BirchSeek’s copy.
The body ends with the ## Sources block (see Sources and citations), then the article’s JSON-LD and a comment that records which BirchSeek article the post is. Odoo adds the post id to each post URL, for example /blog/news-1/my-post-42.
Updates
A refresh updates the same post. The update never changes the post’s status, blog, date or URL. BirchSeek finds the post by the id of its last publish, then by the comment in the body.
Scheduling
BirchSeek’s calendar times each publish.
Troubleshooting
AccessDeniedor401: the login, the database or the key is wrong, or the key expired. Make a new key.AccessErroror403: the user does not have the Website role Editor and Designer, or may not publish. On Odoo Online, check the plan.- No Blog app: install it, then test again.
- More than one blog: enter the blog id from the test result.