Production was incorrectly added to inventory in certain situations after reporting ready

When reporting production rewady via the action list, with the Detail section collapsed, it occurred that the quantities were added to inventory instead of the linked sales order.