Does not disable button on modified record
Steps to reproduce:
1. Create a purchase order
2. Set to Quote
3. Set to Confirm
4. Set to Processing
5. Go to Invoice Tab
6. Double click invoice to open the invoice window
7. Validate the Invoice
This will gray out the cancel, validate and post buttons.
But if we do it from the supplier invoice menu, then we can validate the invoice