dolibarr/htdocs
bomuux 3136895dc7 FIX: excl. tax price not properly rounded
When adding a 'free line' product or service in a supplier invoice, the amount  excluding tax (HT) is not properly rounded, in particular when calculated from full tax price. This leads to inconsistencies in results when using large quantities or small precision in settings. Test case :
with default settings
MAIN_MAX_DECIMALS_UNIT = 5
MAIN_MAX_DECIMALS_TOT = 2
MAIN_MAX_DECIMALS_SHOWN = 8

Add in a new invoice a free product with 13.33 TTC (full tax), quantity 1, save, then edit the line with quantity 10111
Now in another invoice, add a free product with 13.33 TTC (full tax), quantity 10111, save.
Exact same data in the two invoices, but Tax and grand total are different, and false in second case because computed before rounding.

Also removed some direct access to $_POST array.
2016-10-26 08:55:43 +02:00
..
accountancy Clean code 2016-10-24 00:33:39 +02:00
adherents NEW Can use any filter on all REST API to list. 2016-10-25 19:15:47 +02:00
admin Rename constant with english name 2016-10-24 13:10:35 +02:00
api Fix missing cache dir 2016-10-25 20:46:21 +02:00
asterisk
barcode Complete param of setValueFrom 2016-09-12 20:16:39 +02:00
bookmarks Fix for option MAIN_OPTIMIZEFORTEXTBROWSER 2016-07-31 13:07:55 +02:00
cashdesk Fix minor css 2016-09-09 09:21:27 +02:00
categories NEW Can use any filter on all REST API to list. 2016-10-25 19:15:47 +02:00
comm NEW Can use any filter on all REST API to list. 2016-10-25 19:15:47 +02:00
commande NEW Can use any filter on all REST API to list. 2016-10-25 19:15:47 +02:00
compta NEW Can use any filter on all REST API to list. 2016-10-25 19:15:47 +02:00
conf Merge branch 'remove-mysql-driver' of 2016-08-05 13:12:43 +02:00
contact Fix html 2016-10-24 12:42:37 +02:00
contrat Remove call of a deprecated function 2016-10-24 11:27:39 +02:00
core Enhance css 2016-10-25 12:36:14 +02:00
cron Better center of left, center and right part of titles. 2016-09-20 12:51:09 +02:00
custom Start to work to have custom dir available and active by default. 2016-04-30 17:11:48 +02:00
don Remove call of a deprecated function 2016-10-24 11:27:39 +02:00
ecm FIX Sort list of file on ecm module 2016-10-23 23:44:03 +02:00
expedition Uniformize look and feel 2016-10-25 02:56:46 +02:00
expensereport NEW Can use any filter on all REST API to list. 2016-10-25 19:15:47 +02:00
exports Remove call of a deprecated function 2016-10-24 11:27:39 +02:00
externalsite
fichinter Remove call of a deprecated function 2016-10-24 11:27:39 +02:00
fourn FIX: excl. tax price not properly rounded 2016-10-26 08:55:43 +02:00
ftp Fix W3C on FTP setup page 2016-10-25 02:33:40 +02:00
holiday NEW Can rename uploaded or generated files on all "documents" tabs. 2016-10-14 18:09:24 +02:00
hrm Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into develop 2016-09-01 11:37:40 +02:00
imports Update import.php 2016-06-16 20:18:58 +02:00
includes Enhancement of Oauth module 2016-10-07 18:43:44 +02:00
install NEW Can use any filter on all REST API to list. 2016-10-25 19:15:47 +02:00
langs Uniformize code 2016-10-25 02:04:46 +02:00
livraison Remove call of a deprecated function 2016-10-24 11:27:39 +02:00
loan Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into develop 2016-10-16 19:04:33 +02:00
mailmanspip
margin Uniformize code 2016-10-25 02:04:46 +02:00
multicurrency/class add log and toher multicurrency bug fix for PgSQL 2016-06-30 14:24:55 +02:00
opensurvey Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into develop 2016-09-19 14:05:16 +02:00
paybox
paypal Uniformize code 2016-09-21 01:25:34 +02:00
printing Enhancement of Oauth module 2016-10-07 18:43:44 +02:00
product NEW Can use any filter on all REST API to list. 2016-10-25 19:15:47 +02:00
projet Uniformize code 2016-10-25 11:09:26 +02:00
public Clean sources from not used libraries. 2016-10-05 00:38:17 +02:00
resource NEW : Add ressource extrafields 2016-10-19 22:14:51 +02:00
societe NEW Can use any filter on all REST API to list. 2016-10-25 19:15:47 +02:00
supplier_proposal Uniformize code 2016-10-25 11:09:26 +02:00
support NEW #4772 Removed support for Mysql deprecated driver. Please use Mysqli instead 2016-04-17 15:39:46 +02:00
theme Enhance css 2016-10-25 12:36:14 +02:00
user NEW Can use any filter on all REST API to list. 2016-10-25 19:15:47 +02:00
webservices FIX SEC Improve CSRF protection. Reduce usage of NOCSRFCHECK. 2016-09-08 12:12:00 +02:00
websites Work on module website 2016-09-17 21:03:20 +02:00
.gitignore Try to solve side effect of this fuck... autoload creating a big mess in 2016-05-18 11:57:13 +02:00
cache.manifest
disabled.php
document.php NEW: Rename path for generic medias files into '/medias' instead of 2016-05-01 16:34:50 +02:00
favicon.ico
filefunc.inc.php Prepare 4.0.2 2016-10-11 14:36:13 +02:00
index.php Fix tooltip on late button 2016-09-08 18:14:31 +02:00
main.inc.php Uniformize code 2016-10-25 11:09:26 +02:00
master.inc.php
robots.txt
viewimage.php Fix: viewimage must not check login for resources medias 2016-07-03 20:50:28 +02:00