Skip to main content

Fraud Service Disconnection Som Connexió

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

Metadata

Release files for odoo-addon-fraud-service-disconnection-somconnexio 16.0.1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for odoo-addon-fraud-service-disconnection-somconnexio 16.0.1.1.0
File Size Uploaded Provenance Actions
odoo_addon_fraud_service_disconnection_somconnexio-16.0.1.1.0.tar.gz 19.2 kB Without provenance Details for odoo_addon_fraud_service_disconnection_somconnexio-16.0.1.1.0.tar.gz

Release files / odoo_addon_fraud_service_disconnection_somconnexio-16.0.1.1.0.tar.gz

Download URL odoo_addon_fraud_service_disconnection_somconnexio-16.0.1.1.0.tar.gz
Size 19.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4a54fda1a54771ab7cfa50316cf086c2a34f407c935bc1d279637ded1b45d2be
BLAKE2b-256 checksum
How to use checksums
74ea1083552d55aa7d2e638f7cff5a0f568f243be3417a6f55829928ed088601
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Security for odoo-addon-fraud-service-disconnection-somconnexio 16.0.1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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