[FIX] Fix depends on _get_duration(): don't recompute on labour_contract change!

Merged Gabriel Davini requested to merge 8.0-stage into 8.0

[MOD] Some code-styling mods.

Merge request reports