Promociones

Nuevos productos

  • CONFIRM YES

    Improves Dolibarr confirmation dialogs: auto-focus on YES (confirm with Enter) and Escape key to trigger NO, with no visual change to your theme.

    50,00 €
  • FileManager - All-in-one Documents, DMS & Multi-Cloud for Dolibarr

    FileManager es una suite completa de gestión documental para Dolibarr: documentos ERP/GED, fuentes cloud, compartición segura, firmas, versiones, validez documental, edición PDF/imagen, árboles automáticos y permisos avanzados en una interfaz unificada. Soporta Nextcloud, Google Drive, OneDrive, S3/MinIO, FTP y SMB.

    299,00 €

EasyModelePdf

mp23357d20260708170932

Nuevo

Install your custom PDF document models (pdf_*.modules.php) with a simple drag & drop — no carrier module to build.

  • Autor Nicolas Zaoui
  • Versión del módulo 0.1.0
  • Fecha de lanzamiento 08/07/2026
  • Acceso a actualizaciones y descargas 2 años
  • Cómo contactar al soporte nz@anatoleconseil.com
  • Compatibilidad Dolibarr V19+   -   PHP>= 7.4
  • Última actualización 13/07/2026 11:21

Más información...

EasyModelePdf — drop your custom PDF models, done

You wrote a custom PDF document model (pdf_mymodel.modules.php) for a customer. Dolibarr gives you no way to install it: you have to build a carrier module by hand for every customer, declare module_parts['models'], copy the file into the right core/modules/<object>/doc/ directory... and remember that the class name must match the file name, or the model silently never shows up.

EasyModelePdf replaces all of that with a drag & drop.

How it works

  • Drop your pdf_*.modules.php files on the module setup page (several at once).
  • Auto-detection of the target object from the ModelePDF* parent class: customer orders, invoices, proposals, shipments, delivery receipts, supplier orders and invoices, contracts, interventions, projects, tasks, stock, manufacturing orders, BOMs, tickets.
  • Validation with clear error messages: file name pattern, PHP class present, and the "class name = file name" Dolibarr rule enforced instead of failing silently.
  • Safe storage: the file is kept in the Dolibarr documents directory (source of truth) and deployed into the module tree. A module upgrade never loses your models — they are redeployed automatically at activation.
  • Management from the same page: enable/disable the model, set it as default for its object type, download it back, delete it. Installed models also show up in the native document model lists, like any core model.

Requirements

  • Dolibarr 19.0+, PHP 7.4+
  • The web server must be able to write inside the module directory to deploy models (a clear warning is shown otherwise).

Security note: uploading a PHP file is code deployment. Upload is restricted to Dolibarr admin users, CSRF-protected, and the file is parsed to check it declares the expected model class. Only deploy models you trust.




If you think this module is a fork of another one (published after the first one) or violates some terms or conditions of use (for users or vendors), you can make a report at dolistore@dolibarr.org