Make invoice reference not readonly for posted invoices

We made the reference field required for supplier invoices if they are in posted state. Every supplier invoice should have a reference set. This way you can prevent that somebody is missing to enter it.