Dolibarr modules — INTECHSO documentation

Dolibarr modules — Documentation

Add-on modules for Dolibarr ERP/CRM published by INTECHSO: change internal references, change the linked third party.

Deploy each module under custom/module_name/ in your Dolibarr tree, then enable it from Home → Setup → Modules / Applications. Permissions are set per user or group under Users & groups → Permissions.

Modules and documentation

Module: Refmodifier

Refmodifier — Change references

Edit the internal reference (ref) on commercial and supplier documents and on agenda events, with rights per document type.

Read more →
Module: Thirdpartymodifier

Thirdpartymodifier — Change third party

Change the linked third party (fk_soc) on draft documents for sales and purchases, with permissions per document type.

Read more →

Dolibarr module: Refmodifier

UI label: Change references. Lets you change internal references (ref) on commercial and supplier documents and on the agenda, per document type.

Overview

Refmodifier adds an action on record cards (while the document is still draft or the agenda event is not marked 100% complete) and a Tools menu entry for users who have the appropriate rights.

Main features

  1. Granular rights per document type (proposals, orders, shipments, receptions, customer and supplier invoices and credit notes, agenda events).
  2. Edit from the document or event card (recommended).
  3. Standalone tool: document type, row ID or current reference, new reference.
  4. Reference uniqueness is enforced within the entity, like Dolibarr core.

Installation

  1. Copy the module to custom/refmodifier/ (you should see core/modules/modRefmodifier.class.php, class/, langs/, etc.).
  2. File permissions: the web server user must be able to read all PHP and language files in the folder.
  3. Enable the module under Home → Setup → Modules / Applications (search for Refmodifier).
  4. Grant Refmodifier permissions to the relevant profiles.

Upgrade: replace the custom/refmodifier/ folder (backup first), then clear the Dolibarr cache if needed.

Configuration

Screenshots (configuration)

Refmodifier: module enabled in the Modules / Applications list
Activation: Home → Setup → Modules / Applications — Refmodifier row (label “Change references”) with status enabled.
Refmodifier: permissions on a user or group
Rights: Users & groups → PermissionsRefmodifier section: enable only the document types allowed for this profile.

Usage

Set permissions

Users & groups → user or group → Permissions. In the Refmodifier section, enable only the types you need:

  • Sales proposals, customer orders, shipments, receptions
  • Customer invoices and credit notes
  • Supplier quotations, supplier orders, supplier invoices and credit notes
  • Agenda events (requires the Agenda module enabled)

From the card

Open a draft document or an agenda event not completed at 100%. Action bar → Modify reference.

Tools menu

Home → Tools → Change references (if at least one Refmodifier permission is granted).

Screenshots (usage)

Refmodifier: action bar on a draft document with Modify reference
Example: draft card — Modify reference in the action bar.
Refmodifier: Tools page Change references
Example: Tools → Change references — document type, ID or reference, new reference.
Notes: triggers (e.g. agenda) run as in a normal update. Attachments may stay under the old folder until moved (same idea as core behaviour).
Compatibility: Dolibarr 16.0.0 to 23.0.0 (checked when enabling the module). PHP 7.0 to 8.4.
↑ Back to list

Dolibarr module: Thirdpartymodifier

UI label: Change third party. Lets you change the linked third party (fk_soc) on draft documents, per type. The core Third parties module must be enabled.

Overview

Thirdpartymodifier adds an action on document cards (draft only) and a Tools menu page to target a document by type and identifier.

Main features

  1. Permissions per document type (sales and purchasing).
  2. Sales documents: customers / prospects only; purchase documents: suppliers only; closed or inactive third parties are rejected.
  3. Button on the card while the document is draft; after validation, the action is hidden.
  4. Standard Dolibarr MODIFY triggers run for the document type.

Installation

  1. Copy the module to custom/thirdpartymodifier/.
  2. Enable the Third parties module and any commercial modules you need (proposal, order, etc.).
  3. Read permission on all module files.
  4. Enable Thirdpartymodifier under Modules / Applications, then assign permissions.

Upgrade: replace the folder (after backup), clear cache if needed.

Configuration

Screenshots (configuration)

Thirdpartymodifier: module enabled in Modules / Applications
Activation: Setup → Modules / Applications — Thirdpartymodifier (“Change third party”) enabled.
Thirdpartymodifier: permissions on a user or group
Rights: Users & groups → PermissionsThirdpartymodifier section: document types allowed for this profile.

Usage

Permissions: Thirdpartymodifier section — allowed types include: proposals, customer orders, shipments, supplier receptions, customer invoices and credit notes, supplier quotations and orders, supplier invoices and credit notes.

Document card: draft → Change third party (label depends on language) → pick the new third party.

Tools: Home → Tools → Change third party — type, ID or reference, new third party. Drafts only.

Screenshots (usage)

Thirdpartymodifier: change third party on a draft card
Example: draft card — action to change the linked third party.
Thirdpartymodifier: Tools page Change third party
Example: Tools → Change third party page.
Known limitations: changing the third party does not automatically recalculate all lines (prices, VAT, discounts). Review the document after a change. Attachments / ECM paths may still follow old naming until adjusted manually (same idea as core).
Compatibility: Dolibarr 16.0.0 to 23.0.0. PHP 7.0 to 8.4.
↑ Back to list

INTECHSOco*****@******so.com

This documentation is for information only; the module package and your Dolibarr instance remain the reference.