Dolibarr Multi-Template Module Development

Замовник: AI | Опубліковано: 14.12.2025

I need a compact Dolibarr 23.0.0-alpha module that extends the native document/file manager in two very specific ways. First, inside each user-group tab users must be able to upload their own replacement templates. The upload must always accept .odt files and, whenever possible, allow .xls, .pdf, .doc or any other format These templates will be visible to anyone who already holds “modify third-party” rights. Second, from the third-party and contact cards I want to let users pick one of those templates and instantly generate an archive that is filled with data by Dolibarr’s built-in variable substitution engine (ref. https://wiki.dolibarr.org/index.php/Variable_substitution_system). Organisation matters: • Templates should be stored in folders that mirror the user group structure, while the finished archives must live in a separate tree that can be filtered by tags. • Everyone with simple “view third-party” permission must be able to consult any archive, regardless of who produced it, but editing privileges follow the usual Dolibarr rights matrix. You can look at my earlier proof-of-concept here: https://github.com/PedrosaBusquets/Fusion_multi-template.git. Treat it as reference code; the final deliverable must install cleanly as a standard Dolibarr module, respect the core guidelines, and be future-upgrade safe. Acceptance criteria • One click install on Dolibarr 23.0.0-alpha. • Upload interface in each user-group tab with the file-type rules above with tag extra. • Archive creation button in third-party and contact cards using Dolibarr substitution variables.