Skip to content
Snippets Groups Projects
Commit 2aafe5ee authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #370 from simnandez/develop

Develop
parents 765fd934 f164bb67
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ English Dolibarr ChangeLog ...@@ -7,7 +7,7 @@ English Dolibarr ChangeLog
For users: For users:
- New: If field "signature" is filled into user table, text is added - 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 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: Add link "Back to list" on all cards.
- New: After first install, warning are visible onto mandatory setup not - New: After first install, warning are visible onto mandatory setup not
configured. Show also total number of activated modules. configured. Show also total number of activated modules.
...@@ -67,6 +67,7 @@ For developers: ...@@ -67,6 +67,7 @@ For developers:
action/calendar, trips and expenses, dons, vat payment, contact/society, contract, product lines, 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. expedition, order supplier and order invoice (lines included), intervention card, project, tasks.
- New: Add ChromePHP output into syslog module. - New: Add ChromePHP output into syslog module.
- New: Add PRODUCT_PRICE_MODIFY trigger.
For translators: For translators:
- New: Update language files (de, tr, pt, ca, es, en, fr). - New: Update language files (de, tr, pt, ca, es, en, fr).
......
...@@ -1027,6 +1027,16 @@ class Product extends CommonObject ...@@ -1027,6 +1027,16 @@ class Product extends CommonObject
$this->localtax2_tx = $localtax2; $this->localtax2_tx = $localtax2;
$this->_log_price($user,$level); $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 else
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment