Comment 2 for bug 720175

Revision history for this message
Ferdinand (office-chricar) wrote : Re: [6.0] multicompany - all companies are selectable for users with restricted company access

I think it was this

./osv/orm.py: _('Operation prohibited by access rules, or performed on an already deleted document (Operation: %s, Document type: %s).')

IMHO these 2 errors should be separated for user friendlyness to clarify things.
* Error - access prohibited
* Error - deleted document

I thing this happens if the current company does not match the company in user preferences.
I would expect:
Error : current selected company does not match company in preferences.

We should think of having a separate error message for each of the OR conditions.

It needs very high skills to handle unspecified error messages like this.

hope this helps