Auto Cost Price Update (Auto PMP)

mp23501d20251111223620

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 € Netto

  • Autor Weglob
  • Modulversion 2.0
  • Veröffentlichungsdatum 11.11.2025
  • Zugriff auf Updates und Downloads 2 Jahre
  • So kontaktieren Sie den Support contact@weglob.com
  • Kompatibilität Dolibarr V19+   -   PHP7.4 - 8.4
  • Letztes Update 08.12.2025 15:29

Mehr Infos...

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

 




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