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.3.tar.gz.

File metadata

File hashes

Hashes for odoo_addon_fraud_service_disconnection_somconnexio-16.0.1.0.3.tar.gz
Algorithm Hash digest
SHA256 26043b7e1a706d12e6c30382ab08b453b817215634a604fc770f11434094ff85
MD5 1a353f04c7b8e465f2088937890cb851
BLAKE2b-256 cebc3b1c421e5151a2df34d80b06447c0fd78e2d2e749c2644ce7029d5098bc2

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

16.0.1.0.3 This release

1 file

16.0.1.0.2

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