Daily updates from Odoo
Thursday, May 8, 2025
1 change
Enhancements to existing features
Odoo’s AI writing tools are now integrated directly into Discuss and chatter, so users can ask for drafts, notes, and conversation summaries without leaving their workflow. The AI can use permitted record and chatter context to produce more relevant text, while selected-text improvements avoid sharing record details.
Original PR description
This PR updates and improves the AI / ChatGPT integration that already existed in odoo for messages and HTML fields. Now instead of a dedicated dialog, that covers the whole screen, the AI chat is…
This PR updates and improves the AI / ChatGPT integration that already existed in odoo for messages and HTML fields. Now instead of a dedicated dialog, that covers the whole screen, the AI chat is integrated with discuss so users can talk with the AI bot as if they were talking with another user. Apart from the visual change, the functionality of the AI was also improved. Now, when the AI is prompted, a JSON with the record's information available to the current user is given to the AI context in order for the AI to generate more relevant text. If the context requires it (when composing messages/notes) we also input a list of all messages/notes from the chatter in the context, so the AI can take previous conversations about a record into account. When using the AI to improve a piece of text through text selection, no record information is shared. Also a new way to call the AI is added from the top of the chatter. From there, users can ask for a summary of the chatter conversation as well as generate messages and notes directly. A new app is added to change the ai pre-prompts configurations. A new module ai_apps was added to add all the above features. Also some bridge modules were created and some code was moved in order to loosen the dependencies between ai_apps and other modules, making the AI app fully deletable. Previous PR that targetted master: https://github.com/odoo/enterprise/pull/83428 task-4526290