Skip to main content

Beta License: AGPL-3 coopdevs/som-connexio/odoo-somconnexio

Module to automate the fraud circuit for first invoice defaults in Som Connexió.

Table of contents

Configuration

Credential configuration is performed strictly through Environment Variables (standard library mm_proxy_python_client):

  • MM_PROXY_BASEURL

  • MM_PROXY_USER

  • MM_PROXY_PASSWORD

No additional configuration is required in the Odoo dashboard.

Usage

This module proactively detects fraud or early payment defaults (first invoice) and streamline operational actions (service disconnection) and administrative tasks (task generation) without manual intervention.

1. Scenario: Receipt of Bank Return (Non-Payment)

  • When the finance department confirms a return (payment.return), the system verifies the customer’s history. If it is their first invoice, it automatically creates a Task in the Fraud project linked to their Contract. This task creation also triggers a mail notification to the insolvent partner, warning them to pay their debt.

2. Scenario: Service Disconnection

  • When a cron job detects that the task has been inactive (no payment recieved) for a certain period of time, it triggers an action to disconnect the service. Odoo invokes the ProxyMM Python client. If the API responds correctly, the task status changes to “Disconnected”. This disconnection action can also be triggered manually by the operator through a button in the task form view.

3. Scenario: Payment and Reactivation

  • When the customer pays the outstanding debt (invoice reconciliation), the billing team can then trigger the “Reactivate” signal (via Python client) and update the task to “Reactivated”. This allows for quick service restoration when the situation is regularized, improving customer experience.

Contributors

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

File details

Details for the file odoo_addon_fraud_service_disconnection_somconnexio-16.0.1.0.2.tar.gz.

File metadata

File hashes

Hashes for odoo_addon_fraud_service_disconnection_somconnexio-16.0.1.0.2.tar.gz
Algorithm Hash digest
SHA256 6997a8c185f99f25640a3f57d970dc6a80ce59f379d444fab5c67f1afb775c1c
MD5 7da2438b5724e45b0fa108168682778f
BLAKE2b-256 cce75980df3622f49d3bb811caab1fca783b5735e0b2dd9de3daffddd48985ec

See more details on using hashes here.

Release history Release notifications | RSS feed

16.0.1.0.3

1 file

This release

16.0.1.0.2 This release

1 file

16.0.1.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page