This is a demonstration module providing a sample GraphQL endpoint, as well as tests for graphql_base.
auto_awesome What this module does
AI-generated from the code · Odoo 17.0Adds a sample GraphQL endpoint to Odoo so external applications can read partner data and create contacts through a standard GraphQL API. It is a demonstration module for developers, not a day-to-day business feature.
This module exposes two web addresses for developers: a GraphQL endpoint and a GraphiQL browser page for trying queries interactively. Both require a logged-in Odoo user.
Through the endpoint, external programs can:
- List contacts (res.partner) with their name, address, city, zip, country, email, phone, company flag and child contacts.
- Filter the list to companies only, and limit or skip results.
- Reverse a text string, as a simple test query.
- Create a new contact with a name, email and company flag.
- Trigger a deliberate error example, useful for testing error handling.
No new menus, screens or buttons are added inside Odoo. The module does not change any business rules, computations or automatic behaviours in the standard Odoo interface. It only provides a technical interface for other software to talk to Odoo data. Because it is a demo, it is mainly useful for testing and learning how the GraphQL framework works, not for production use.
Depends on
Text generated by AI (DeepSeek) from reading the Odoo 17.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 6 confirmed, 3 with no information of 9 versions.
Sources · Odoo 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/rest-framework.
terminal Installation and usage
OCA documentation · Odoo 17.0Usage
Source · Odoo 17.0This module can be used in different ways:
- as an example: copy the code and hack your way;
- to test
graphql_base(install it with--test-enable); - on runbot, login and change the url to
/graphiql/demo.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.