Update commondocgenerator.class.php

add : outstanding limit on ODT 
fix  : only public note are display on ODT (private stay private)
error on adding fields (bad function
Merge pull request #1971 from defrance69/patch-25

Update commondocgenerator.class.php