Sales and Purchase Order invoiced status wrong

Here is the topic that introduced this change. It’s intended behavior.