2
0
forked from Wavyzz/dolibarr

Fix: Missing price level for triggers

This commit is contained in:
Laurent Destailleur
2013-06-13 23:24:58 +02:00
parent 19214714e1
commit 12c3fe2558

View File

@@ -1061,7 +1061,9 @@ class Product extends CommonObject
// Price by quantity
$this->price_by_qty = $newpsq;
$this->_log_price($user,$level);
$this->_log_price($user,$level); // Save price for level into table product_price
$this->level = $level; // Store level of price edited for trigger
// Appel des triggers
include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");