Merge pull request #677 from simnandez/3.3

Fix: Pagination at bottom not work correctly with filters applied
Fix bug #730
Fix: regression, the product discount overwrites the default customer
discount !
Fix: hide blocs with multi-page
Fix: wrong hidden
Merge pull request #682 from FHenry/3.3

Fix bug #730
Fix: pdf models are unstable and time consuming.
Merge branch '3.3' of git+ssh://git@github.com/Dolibarr/dolibarr.git into 3.3
Fix [ bug #733 ]
Merge branch '3.3' of https://github.com/Dolibarr/dolibarr.git into 3.3
Fix: It seems foreign key is not deleted sometimes. To be sure, we force
delete also at end.
Merge pull request #683 from FHenry/3.3

Fix [ bug #733 ]
Fix: Add option MAIN_USE_LOCALTAX_TYPE_7 to hide localtax 7 because
type 7 need to be implemented at invoice level, not line level. This
disable the feature (we need better implementation) without removing it
for people using it in the past.
Fix: Update button does not appear
Fix: trans
Fix: select lost if error
Fix: Update of type was not working.
Fix: try to fix regression, stored the last id created in a session
variable in order to be used to find out information in the "ref_ext" in
order to differentiate automatic actions.
Fix: to force id field name
Fix [ bug #736 ]