Sales and Purchase Order invoiced status wrong

I was reffering to,