| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 542 |
| Technical Name |
vendor_bill_stamp |
| License | OPL-1 |
| Versions | 17.0 18.0 |
PDF Stamp & Nextcloud Sync
Odoo 17 Odoo 18 Odoo 19 Community Accounting Sales Nextcloud WebDAV
Automatically stamp vendor bills, customer invoices, credit notes and quotations with their Odoo reference number — then push the PDF straight to your Nextcloud, organised by document type and year. No more manual downloads, no more copy-paste.
The Problem It Solves
Key Features
✓ Automatic PDF Stamping
Appose the Odoo reference number on every page at validation. Blue text with black outline — font size, color and position all configurable.
✓ Smart PDF Detection
If a supplier PDF is already attached (e.g. via Peppol / UBL), it is stamped directly. Odoo-generated PDF used as fallback. Original file never modified.
✓ Nextcloud WebDAV Sync
Sends every validated document to Nextcloud automatically. Missing folders (including year folders) are created on the fly.
✓ Dynamic Path Variables
Use {year}, {month}, {day}, {ref}, {number} in destination paths. Store 2025 invoices in /Invoices/2025/ automatically.
✓ Per-Document-Type Control
Independent stamp toggle and Nextcloud path for vendor bills, vendor credit notes, customer invoices, customer credit notes, and quotations.
✓ Live Quotation Sync
Every time a quotation is saved, the latest PDF is pushed to Nextcloud. Your team always has the current version.
Compatibility
Supported Document Types
- Vendor Bills
in_invoice - Vendor Credit Notes
in_refund - Customer Invoices
out_invoice - Customer Credit Notes
out_refund - Quotations & Sales Orders
sale.order
Path Variables Reference
| Variable | Description | Example output |
|---|---|---|
| {year} | Invoice / document year | 2026 |
| {month} | Invoice / document month | 03 |
| {day} | Invoice / document day | 19 |
| {number} | Odoo document number | FF-26-3-21 |
| {ref} | Supplier / customer reference | 24104447 |
Example: path /Invoices/Suppliers/{year}/ → file /Invoices/Suppliers/2026/FF-26-3-21.pdf
Configuration
All settings in Settings → PDF Stamp (dedicated tab):
- Enable stamping per document type (independent toggles)
- Text color (hex code), font size (pt), position (top/bottom + left/right)
- Show Odoo number, supplier/customer reference, or both with custom separator
- Nextcloud URL, username, password or app token
- One destination path per document type, with full variable support
- Enable/disable Nextcloud sync independently per document type
Requirements
- Odoo 17, 18 or 19 — Community or Enterprise
- Python:
pypdfandreportlab(install via pip on your server) - Nextcloud with WebDAV enabled (enabled by default on all Nextcloud instances)
salemodule required only for quotation sync feature
About the Author
Developed by Walravens Justin — Belgian Odoo developer and integrator. Built from a real daily workflow pain point.
Tampon PDF & Synchronisation Nextcloud
Odoo 17 Odoo 18 Odoo 19 Community Comptabilité Ventes Nextcloud WebDAV
Apposez automatiquement le numéro Odoo sur vos factures, avoirs et devis — puis envoyez le PDF directement dans votre Nextcloud, organisé par type de document et par année. Fini les téléchargements manuels.
Le problème résolu
Fonctionnalités principales
✓ Tampon PDF automatique
Appose le numéro Odoo sur chaque page à la validation. Texte bleu avec contour noir — taille, couleur et position configurables.
✓ Détection intelligente du PDF
Si un PDF fournisseur est déjà joint (ex. Peppol / UBL), c'est lui qui est estampillé. Fallback sur le PDF Odoo. L'original n'est jamais modifié.
✓ Sync Nextcloud WebDAV
Envoie chaque document validé vers Nextcloud. Les dossiers manquants (y compris les dossiers d'année) sont créés automatiquement.
✓ Variables de chemin dynamiques
Utilisez {year}, {month}, {day}, {ref}, {number}. Les factures 2025 vont dans /Factures/2025/ automatiquement.
✓ Contrôle par type de document
Toggle et chemin Nextcloud indépendants pour factures four., avoirs four., factures client, avoirs client et devis.
✓ Sync devis en temps réel
À chaque sauvegarde d'un devis, le PDF le plus récent est envoyé vers Nextcloud. Votre équipe a toujours la version à jour.
Compatibilité
Types de documents supportés
- Factures fournisseurs
in_invoice - Notes de crédit fournisseurs
in_refund - Factures client
out_invoice - Notes de crédit client
out_refund - Devis & commandes client
sale.order
Variables de chemin
| Variable | Description | Exemple |
|---|---|---|
| {year} | Année de la facture / du document | 2026 |
| {month} | Mois de la facture / du document | 03 |
| {day} | Jour de la facture / du document | 19 |
| {number} | Numéro Odoo du document | FF-26-3-21 |
| {ref} | Référence fournisseur / client | 24104447 |
Exemple : chemin /Factures/Fournisseurs/{year}/ → fichier /Factures/Fournisseurs/2026/FF-26-3-21.pdf
Configuration
Tous les paramètres dans Paramètres → Tampon PDF (onglet dédié) :
- Activer le tampon par type de document (toggles indépendants)
- Couleur du texte (code hex), taille de police (pt), position (haut/bas + gauche/droite)
- Afficher numéro Odoo, référence four./client, ou les deux avec séparateur personnalisé
- URL Nextcloud, utilisateur, mot de passe ou token d'application
- Un chemin de destination par type de document avec support des variables
- Activer/désactiver la sync Nextcloud indépendamment par type de document
Prérequis
- Odoo 17, 18 ou 19 — Community ou Enterprise
- Python :
pypdfetreportlab(à installer via pip sur votre serveur) - Nextcloud avec WebDAV activé (activé par défaut sur toutes les instances Nextcloud)
- Module
salerequis uniquement pour la sync des devis
À propos de l'auteur
Développé par Walravens Justin — développeur et intégrateur Odoo belge. Né d'une vraie douleur quotidienne de workflow.
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