Promociones

  • Advanced HRM : Advanced human resources management

    This module brings a layer of ergonomics and features missing in the standard Dolibarr human resources management module, such as the facility to create absence requests from the employee schedule, the addition of automatic VAT rates, the integration of the km scale on the tranche 1 and of google maps.

    145,00 €  (348€)

Nuevos productos

  • MyPos

    fafazfe

    GRATIS
  • Paper Invoice Mailing

    Send your customer invoices by post from Dolibarr, through MySendingBox. See the exact printed PDF and the price before you confirm, track every letter, and follow your postal costs on a dashboard.

    69,00 €

EasyModelePdf

mp23357d20260708170932

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.1
  • 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 - V24   -   PHP>= 7.4
  • Última actualización 06/10/2026 23:41

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