Pingen.com Integration (2BIT)
by Camptocamp https://2bit.ch/ , Odoo Community Association (OCA) https://2bit.ch/ , 2BIT AG https://2bit.ch/| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 4653 |
| Technical Name |
pingen_2bit |
| License | OPL-1 |
| Website | https://2bit.ch/ |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 4653 |
| Technical Name |
pingen_2bit |
| License | OPL-1 |
| Website | https://2bit.ch/ |
pingen.com integration
Pingen.com is a paid online service. It sends uploaded documents by letter post.
One can decide, per document / attachment, if it should be pushed to pingen.com. The documents are pushed asynchronously.
The informations of the documents from pingen.com are updated through webhook calls.
Table of contents
Configuration
The authentication token, client ID, organization ID and webhook secret is configured on the company's view. You can also tick a checkbox if the staging environment (https://stage-api.pingen.com) should be used.
Webhooks should be configured on pingen account. Organization ID and webhook secret must match.
Usage
On the attachment view, a new pingen.com section has been added. You can tick a box to push the document to pingen.com.
There is 3 additional options:
- Send: the document will not be only uploaded, but will be also be sent
- Speed: priority or economy
- Type of print: color or black and white
Once the configuration is done and the attachment saved, a Pingen Document is created. You can directly access to the latter on the Link on the right on the attachment view.
You can find them in Pingen Documents App or in the more convenient Documents menu if you have installed the document module.
Errors
Sometimes, pingen.com will refuse to send a document because it does not meet its requirements. In such case, the document's state becomes "Pingen Error" and you will need to manually handle the case, either from the pingen.com backend, or by changing the document on Odoo and resolving the error on the Pingen Document.
When a connection error occurs, the action will be retried on the next scheduler run.
Dependencies
- Require the Python library requests_oauthlib
- The address must be in a format accepted by pingen.com: the last line is the country in English or German.
Credits
Authors
- Camptocamp
- Contributors
-
- 2BIT <info@2bit.ch>
- 2BIT AG <info@2bit.ch>
- Guewen Baconnier <guewen.baconnier@camptocamp.com>
- Anar Baghirli <a.baghirli@mobilunity.com>
- Akim Juillerat <akim.juillerat@camptocamp.com>
- Anna Janiszewska <anna.janiszewska@camptocamp.com>
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