• Rafael Monnerat's avatar
    slapos_erp5: Change how allocation scope change updates monitor and capacity scope · 4e55049c
    Rafael Monnerat authored
       Whenever allocation scope changes, the capacity is close, and the proper alarm will re-open it later a moment after. This prevents when you change from close to open, to get a miss-updated window, and something is allocated before it capacity is calculated.
    
         Do not touch on monitor scope, except when it is None or allocation is "Close Forever", this allow the user to keep monitoring closed computers (Maintenance, termination...), since ONLY allocation is closed, and the computer is supposed to work normally with whatever is inside.
    4e55049c
test.erp5.testSlapOSCloudAllocationAlarm.xml 3.09 KB