Forward port branch '7.0' until 421a016

I did a merge of 7.0 in 8.0 and resolved the minor conflicts.
Shouldn't this module account_analytic_plan_required go in __unported__ ?