I am seeing this error with all my users even though they have the right permissions for the Purchase Order and Purchase Invoice doctype:
I have checked and rechecked and all the users have the requisite permissions for the doctype. Example:
Sometimes they are able to submit the purchase order or purchase invoice in spite of the error and sometimes this is not possible. Is any one else experiencing this and can someone point me to how it can be fixed?