Support Agent Actions Base - Link a Conversation to a Customer, Agent Spending Limits and Audit Log
by Modvanta https://modvantaapps.tech/odoo-apps/support-agent-actions-base/$ 9.97

The control layer for support agents who act on customer orders from a chat
Works out which customer a Discuss or Live Chat conversation is about, gives every agent a per-action and a daily spending limit, sends anything above a limit to a supervisor, and keeps an append-only audit log of every action taken from a conversation.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
When support agents can refund, credit or cancel from a chat, a shop needs three things before anything else: to know which customer the conversation is about, to cap how much money an agent can move on their own, and to keep a record of who did what that nobody can edit afterwards.
This module is that base layer. Each conversation gets a customer: detected automatically from a Live Chat visitor or the other side of a direct chat, or set by hand. Each agent gets a per-action limit and a daily limit, with company defaults for everyone else. An action above a limit is not blocked - it lands in an Approval Queue where a supervisor approves or rejects it. Every action is written to an audit log that cannot be edited or deleted.
The base does not add refund or cancel buttons by itself: it is the foundation used by Support Agent Order Actions, which adds the actions on orders. The log entries in the screenshots below are sample entries written through the base's logging API.
Who it is for
Support teams on Live Chat and Discuss Every conversation is tied to the customer it is about. | Support managers Limits per agent and per day, and a queue of requests above them to approve or reject. | Finance and audit A log of every action, amount, agent and approver that cannot be changed afterwards. |
Key features
All screenshots were taken on Odoo 19 with this module installed on a clean demo database (company Northwind Trading Co, Odoo demo users, sample customers Dana Brooks and Jordan Lee). Sam Taylor is a support agent, Alex Morgan a supervisor.
Feature 1
Approval queue for actions above the limit
Agent Actions -> Approval Queue lists every action waiting for a supervisor, with the customer, the document, the agent and the amount.
On the bench Sam Taylor's limit is $100.00 per action: a $40.00 action is allowed, a $150.00 one goes to approval

Feature 2
Everything the supervisor needs to decide
A pending action shows who and what (agent, customer, amount), the agent's reason, the conversation and the document, with Approve and Reject buttons.
Only a Support Supervisor can approve or reject
A supervisor cannot approve their own action unless they are an administrator

Feature 3
Append-only audit log
Agent Actions -> Audit Log lists every action with its time, customer, document, agent, amount and status: done, awaiting approval, approved, rejected or failed. Entries cannot be edited or deleted from the interface.

Feature 4
Who decided and when
Once a supervisor has decided, the entry records who approved or rejected it and when, next to the agent's original reason.

Feature 5
Per-agent spending limits
A Support Limits tab on the user form holds the per-action limit and the daily limit of the agent, and an Always Require Approval switch for new agents.
A limit left at zero uses the company default
The daily limit adds up what the agent did today, converted to the company currency

Feature 6
Company defaults
Settings -> Support Agent Actions holds the default limits for agents without their own, and Confirm in the Conversation, which posts a short confirmation into the thread after each action.

Feature 7
Each conversation knows its customer
A Live Chat conversation shows the detected customer - here Dana Brooks, the visitor of the chat. An agent can set the customer by hand, and mark a channel as a support conversation.

How it works, step by step
| 1 | Install the module It depends only on Discuss (mail). Live Chat conversations are recognised when Live Chat is installed. |
| 2 | Give your team their roles Set users to Agent or Supervisor in the Support Agent Actions access rights. |
| 3 | Set the limits Company defaults in Settings, and per-agent limits on the Support Limits tab of each user. |
| 4 | Add the actions Install Support Agent Order Actions for refunds and other order actions. Every action then goes through these limits and into the audit log. |
Settings
Company settings are in Settings -> Support Agent Actions, agent settings on each user.
| Default Agent Limits | Per-action and daily limit for agents without their own. Zero means no limit. |
| Confirm in the Conversation | Post a short confirmation into the thread after each action. |
| Per-Action Limit / Daily Limit (user) | This agent's own limits. Above a limit the action goes to the Approval Queue. |
| Always Require Approval (user) | Every action of this agent waits for a supervisor. |
| Agent / Supervisor (access rights) | Agents act on conversations; supervisors also decide in the Approval Queue and edit limits. |
| Customer / Support Conversation (channel) | The customer a conversation is about, and whether it is a support conversation. |
Frequently asked questions
Does this module refund or cancel orders by itself?
No. It is the base layer: customer detection, limits, approval queue and audit log. The order actions come from Support Agent Order Actions, which requires this module.
Is an action above the limit blocked?
No. It is sent to the Approval Queue, where a supervisor approves or rejects it. On the bench a $150.00 action by an agent with a $100.00 limit went to approval.
Can the audit log be edited?
No. Log entries cannot be edited or deleted from the interface; decisions are recorded with the approver and the time.
How is the customer of a conversation found?
For a Live Chat it is the visitor, for a direct chat the other person. An agent can always set it by hand, and modules for other channels can add their own detection.
Does the daily limit handle several currencies?
Yes. What the agent did today is converted to the company currency before it is compared with the limit.
Compatibility
Odoo 19 Community and Enterprise | Depends on Discuss (mail) | Tested 11 automated tests |
Give support agents power with limits and a record
Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.
SUPPORT | AUTHOR Modvanta | INCLUDED Module, setup help by email |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 781 |
| Technical Name |
mdv_support_agent_actions_base |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/support-agent-actions-base/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module