Saturday, September 5, 2026
2 changes · master
New functionality added to Odoo
This change introduces shared direct debit mandate capabilities that can be reused across payment localizations, reducing duplication and making future regional support easier. It also adds support for Canadian CPA 005 Pre-Authorized Debits, enabling businesses in Canada to collect inbound direct debit payments through Odoo.
Discuss users can now guide AI chat behavior with options such as web search, strict source-based answers, deeper reasoning, and automatic action approval. These controls give teams more flexibility and confidence by making AI responses better match each conversation's needs.
Original PR description
This commit introduces new AI actions in Discuss chats to give users granular control over their AI chat experience. The 3 new actions include: - Web Search: Enables the web search tool (even if not…
This commit introduces new AI actions in Discuss chats to give users granular control over their AI chat experience. The 3 new actions include: - Web Search: Enables the web search tool (even if not in the agent's default skills) and encourages its use. Toggling it off explicitly blocks the agent from searching the web. - Strict to Sources: Restricts the agent's ability to search for answers to exclusively use the provided RAG sources. - Think Longer: Increases the agent's reasoning level/depth. Technical Details: - State Management: The three options are stored as session state attributes, with default values inherited from the agent settings. - Validation: "Web Search" and "Strict to Sources" are mutually exclusive. This rule is enforced and validated on both the frontend and the backend. - API Updates: Compressed the session settings into a single `ai_session_config` dictionary for the `generate_response` API. - Synchronization: State changes from the backend to the frontend are communicated via the mail store. Frontend to backend communication is passed through the `generate_response` payload. - Tests: Adapted existing tests and added new test cases to cover the new configurations and the mutual exclusivity validation. task-6310817