Bad translation
Fix: project builddoc trigger is used now
Fix: define new ref before trigger
The "final ref" of an object must be set only once all database actions
are ok. So after trigger call.
If a trigger need to know new information on an object, trigger must
make a fetch on object.

Revert "Fix: define new ref before trigger"

This reverts commit cb2b6e6e40035b28cb241681efda8ec6f97eaf80.
Fix :: Entries salaries into menu doesn't appears when this module is activated alone - Needed module tax at the moment
Removed all triggers _BUILDOC. Building a document is not a business
status change but a technical action. So hooks must be used instead.


Merge branch '3.6-patch' of github.com:aspangaro/dolibarr into
aspangaro-3.6-patch

Conflicts:
	htdocs/core/modules/project/modules_project.php
	htdocs/core/triggers/interface_90_all_Demo.class.php-NORUN
Merge branch 'aspangaro-3.6-patch' into develop