erp5_budget: Fix an unused variable warning.
This also fixups b9b14bc7 for the case where the consumption range is different from consumed budget or engaged budget (for exemple when we have only engaged movements on a given node).
Showing
Please register or sign in to comment