emoncms / MyHomeEnergyPlanner

My Home Energy Planner - Open Source home energy assessment software based on emoncms framework + openbem
GNU Affero General Public License v3.0
22 stars 27 forks source link

Recalculate cost of bulk measure when we remove an element from it #394

Closed cagabi closed 6 years ago

cagabi commented 6 years ago

Typical case: we have an element to which we applied a measure in bulk. When we apply another measure to the element or when we revert it to master we remove the element from the bulk measure, that's good. But we don't recalculate the cost of the bulk measure, that's bad.

cagabi commented 6 years ago

The bug was only happening when reverting to master. Fixed