Use fields.depends decorator

issue3487
review2301002
Use work effort instead of total to compute revenue

total_effort contains the effort of the children but sum_tree needs only the
value of the work without the children.

review2931003