Odoo supports two LLM providers for its AI module — Google Gemini and OpenAI. Claude, which we use the most in our daily work, was not on the list. So we created a module: viavista_ai_claude. It registers Claude as an extra option inside the Odoo AI module, and that's pretty much all it does.
A month after the release on the Odoo Apps Store, we had about thirty downloads and the first concrete feedback. An user reported that the AI agent in Discuss does not read PDF attachments — the text part of the message passes, but if user attaches a document, the agent acts as if he did not receive it at all.
First reaction: It's not our bug — Odoo adds AI capabilities. We just added the option to have requests processed by Anthropic's Claude. But to be sure, we quickly reproduced with the stock OpenAI provider. And confirmed. The bug exists for all three providers, OpenAI and Gemini as well as for Claude. It has nothing to do with our module.
We didn't want to answer that it wasn't our problem, but decided to help the user (who is not our client at all). We had two options: monkey-patch fix inside viavista_ai_claude (it only solves Claude users, and only those who use our module), or go directly to the source and fix where the bug actually lives. We decided on the latter. The fix was submitted under odoo/enterprise#117518 (https://github.com/odoo/enterprise/pull/117518).
We sent the user who reported the bug a direct link to the PR with the explanation that if they don't want to wait for the official release with the fix, they can simply download our diff and apply it in their own custom module. A simple fix (at least for us), without migrating the database, without changing the manifest.
This is our first pull request in the official Odoo Enterprise repository. It's worth writing — not for a pat on the back, but because it shows a concrete approach: fix where it belongs, not where it's easiest. Result: the client gets a quick workaround, the Odoo community gets a permanent fix, and we get the first commit in the repository that runs the operations of more than a hundred thousand companies around the world.