Merge pull request #370 from simnandez/develop

Develop
This commit is contained in:
Laurent Destailleur 2012-09-05 05:43:16 -07:00
commit 2aafe5eef1
2 changed files with 12 additions and 1 deletions

View File

@ -7,7 +7,7 @@ English Dolibarr ChangeLog
For users:
- New: If field "signature" is filled into user table, text is added
at end of predefined email texts. If option MAIL_DO_NOT_USE_SIGN is on, this
feautre is disabled.
feature is disabled.
- New: Add link "Back to list" on all cards.
- New: After first install, warning are visible onto mandatory setup not
configured. Show also total number of activated modules.
@ -67,6 +67,7 @@ For developers:
action/calendar, trips and expenses, dons, vat payment, contact/society, contract, product lines,
expedition, order supplier and order invoice (lines included), intervention card, project, tasks.
- New: Add ChromePHP output into syslog module.
- New: Add PRODUCT_PRICE_MODIFY trigger.
For translators:
- New: Update language files (de, tr, pt, ca, es, en, fr).

View File

@ -1027,6 +1027,16 @@ class Product extends CommonObject
$this->localtax2_tx = $localtax2;
$this->_log_price($user,$level);
// Appel des triggers
include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
$interface=new Interfaces($this->db);
$result=$interface->run_triggers('PRODUCT_PRICE_MODIFY',$this,$user,$langs,$conf);
if ($result < 0)
{
$error++; $this->errors=$interface->errors;
}
// Fin appel triggers
}
else
{