Changes

m
no edit summary
Line 7: Line 7:     
'''Detailed Changelog''':
 
'''Detailed Changelog''':
<div style="white-space: pre;">
+
 
***** ChangeLog for 6.0.0 compared to 5.0.* *****
+
<pre>
 
NEW: Add experimental BlockeLog module (to log business events in a non reversible log file).
 
NEW: Add experimental BlockeLog module (to log business events in a non reversible log file).
 
NEW: Add a payment module for Stripe.  
 
NEW: Add a payment module for Stripe.  
Line 138: Line 138:  
* The page societe/soc.php was renamed into societe/card.php to match page naming conventions.
 
* The page societe/soc.php was renamed into societe/card.php to match page naming conventions.
 
* The page compta/facture.php was renamed into compta/facture/card.php to match page naming conventions.
 
* The page compta/facture.php was renamed into compta/facture/card.php to match page naming conventions.
* The signature of method ->delete() of class Product and PriceExpression was changed from  
+
* The signature of method ->delete() of class Product and PriceExpression was changed from ->delete(id, notrigger) to ->delete(User, notrigger) to match standard dev rules.
  ->delete(id, notrigger) to ->delete(User, notrigger) to match standard dev rules.
+
* The signature of method ->delete() of class Adherent was changed from ->delete(id) to ->delete(id, User, notrigger) to match standard dev rules.
* The signature of method ->delete() of class Adherent was changed from  
+
* Removed CommonObject::displayMarginInfos (was deprecated in 3.8). Use same method into html.formmargin.class.php
  ->delete(id) to ->delete(id, User, notrigger) to match standard dev rules.
  −
* Removed CommonObject::displayMarginInfos (was deprecated in 3.8). Use same method into
  −
  html.formmargin.class.php
   
* Removed Societe::set_commnucation_level (was deprecated in 4.0). Was not used.
 
* Removed Societe::set_commnucation_level (was deprecated in 4.0). Was not used.
* Removed the trigger file of PAYPAL module that stored data that was not used by Dolibarr. The trigger event still
+
* Removed the trigger file of PAYPAL module that stored data that was not used by Dolibarr. The trigger event still exists, but if an external module need action on it, it must provides itself its trigger file.
  exists, but if an external module need action on it, it must provides itself its trigger file.
+
* Use $conf->global->MULTICOMPANY_TRANSVERSE_MODE instead $conf->multicompany->transverse_mode. So, if you set var $multicompany_transverse_mode to 1 into your conf file, you must remove this line and a new key into the Home - setup - other admin page.  
* Use $conf->global->MULTICOMPANY_TRANSVERSE_MODE instead $conf->multicompany->transverse_mode. So, if you set var
  −
  $multicompany_transverse_mode to 1 into your conf file, you must remove this line and a new key into  
  −
  the Home - setup - other admin page.  
   
* Use getEntity('xxx') instead getEntity('xxx', 1) and use getEntity('xxx', 0) instead getEntity('xxx')
 
* Use getEntity('xxx') instead getEntity('xxx', 1) and use getEntity('xxx', 0) instead getEntity('xxx')
* Some other change were done in the way we read permission of a user when module multicompany is enabled. You can  
+
* Some other change were done in the way we read permission of a user when module multicompany is enabled. You can retreive the old behavior by adding constant MULTICOMPANY_BACKWARD_COMPATIBILITY to 1.
  retreive the old behavior by adding constant MULTICOMPANY_BACKWARD_COMPATIBILITY to 1.
+
* The hook formObjectOptions was not implemented correctly in previous version. Sometimes, you had to return output content by doing a print into function, sometimes by returning content into "resprint". This has been fixed to follow hook specifications so you must return output into "resprint".
* The hook formObjectOptions was not implemented correctly in previous version. Sometimes, you had to return output  
  −
content by doing a print into function, sometimes by returning content into "resprint". This has been fixed to follow
  −
hook specifications so you must return output into "resprint".
   
</div>
 
</div>