Synchronize the needed objects to invoicing from OpenCell.
Project description
This module is a part of SomConnexió original module.
We are working to separate the monolitic original module in small modules splited by functionalities.
This module manage the integration between Odoo an OpenCell.
OpenCell is the billing system used in Som Connexió. We use this module to synchronize the customers and contracts from Odoo to OpenCell and to import the invoices from OpenCell to Odoo.
Using listeners, we observe the contract and res_partner models and if a new is created or is updated with a field related with the invoice process, a job is generated to call OpenCell to create or update the related object, using the reference of Odoo as identifier in OpenCell.
Objects integrated (Odoo -> OpenCell):
ResPartner -> Customer / CRMAccountHierarchy
Contract -> Subscription
ContractInfo (ISP Info) -> Access
Product -> Service / OneShot
Table of contents
Configuration
To configure the integration between Odoo and OpenCell you need to expose in the Odoo environment the next variables used to access the OpenCell API:
export OPENCELL_BASEURL="https://opencell.organization.org/"
export OPENCELL_USER="opencell_user"
export OPENCELL_PASSWORD='opencell_password'
Then, create and configure the Seller and the Client category in OpenCell and update the Odoo configuration settings opencell_seller_code and opencell_customer_category_code.
Products
To integrate the products between the envrionments, the CODE of the product in OpenCell must exist in Odoo as Product default code of a product.
OpenCell Product Code <==> Odoo Product Default Code
Usage
The usage is full integrated with the ORM of Odoo using listeners.
More info about the listeners: https://odoo-connector.com/api/api_components.html#listeners
Contributors
Som Connexió SCCL <https://somconnexio.coop/>
Gerard Funonsas gerard.funosas@somconnexio.coop
Borja Gimeno borja.gimeno@somconnexio.coop
Coopdevs Treball SCCL <https://coopdevs.coop/>
Daniel Palomar daniel.palomar@coopdevs.org
Cesar Lopez cesar.lopez@coopdevs.org
Carla Berenguer carla.berenguer@coopdevs.org
Project details
Release history Release notifications | RSS feed
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_opencell_somconnexio-16.0.1.0.2.tar.gz.
File metadata
- Download URL: odoo_addon_opencell_somconnexio-16.0.1.0.2.tar.gz
- Upload date:
- Size: 36.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32fb856c2ab4ab4fcdc46f44718d44b4158ad8bf0e044c2d149f647173ac058b
|
|
| MD5 |
63825921df7046c567f0537d6f1555eb
|
|
| BLAKE2b-256 |
c45c7a1ba1366de72ea27ddddea672463c13c6abb8056be02c91c8d785501e65
|