Fix:  [ bug #698 ] Bad calculation of totals of associated documents
Merge pull request #630 from simnandez/develop

Fix:  [ bug #698 ] Bad calculation of totals of associated documents
Fix: wrong object name
Merge remote-tracking branch 'dolibarr/develop' into develop