Feature request: Add a GUI RPC to the client to reset project debts. Preferably to set them to an arbitrary value, not only to zero them.
From what I know about debts, they are adjusted so that the sum of them is 0. This adjustment be done immediately after this RPC. However, changing from a positive debt on a single project to 0 would make it go positive again (and bring other projects closer to zero). For this reason, my suggested RPC can set multiple projects at a time, not needing one RPC per project.
Suggested RPC:
<set_debt>
<project>
<project_url>http://project1</project_url>
<long_term_debt>0</long_term_debt>
<short_term_debt>0</short_term_debt>
</project>
<project>
<project_url>http://project2</project_url>
<long_term_debt>0</long_term_debt>
<short_term_debt>0</short_term_debt>
</project>
</set_debt>
Answer to that would be <success/> like from most "set" RPCs. Note that the client should handle a missing LTD or STD tag (so that the RPC can be used to only change one of them).
I noticed the output of <get_project_status> and <get_state> RPCs already have the debts; so we have a mechanism to "get" them already.