Promotions

  • DigiRisk

    DigiRisk allows you to create, manage, and update your Risk Assessment Document directly within Dolibarr. Fully compliant with French legislation, it includes risk evaluation, action planning (PAPRIPACT), accident management, and much more.

    150.00 €  (180.00€)
  • Skin QuaranteDeux

    Skin quarante deux features: Compatibility with Dolibarr version v.18.00.00 & above. Seamless operation with PHP 8. Discover a new visual experience with our highly anticipated feature: dark mode!

    120.00 €  (240€)

New products

Auto Cost Price Update (Auto PMP)

mp23501d20251111223620

New

Adds a button “Update Cost Price” on draft quotes, orders, and invoices to automatically refresh cost prices using the products’ Weighted Average Price (PMP).

15.00 €

  • Author Weglob
  • Module version 2.0
  • Release date 11/11/2025
  • Access to download and updates 2 years
  • How to contact support contact@weglob.com
  • Compatibility Dolibarr V19+   -   PHP7.4 - 8.4
  • Last update 12/04/2025 09:11 AM

More info

The Auto Cost Price Update (Auto PMP) module enhances Dolibarr by allowing users to instantly update cost prices on draft quotes, orders, and invoices based on the latest Weighted Average Price (PMP) of products.

Key features:

  • Adds an “Update Cost Price” button at the bottom of draft documents (next to Validate, Clone, Delete).

  • Updates all lines in one click, using Dolibarr’s native popup confirmation.

  • Two configuration modes:

    1. All lines: refresh every cost price.

    2. Only if cost = 0: update only empty cost fields.

  • Automatically recalculates margins (update_price() function).

  • Does not modify PMP values themselves (only uses them).

Use case:
Quickly align your document costs with current product PMPs before validation, ensuring accurate margin calculations and better reporting.

Installation:
Upload module_autopmp-2.0.0.zip via Setup → Modules → Deploy external module, activate it, then configure it in module settings.

Support:
Email: contact@weglob.com
LinkedIn: Mohamed Aggoubi