> Otherwise you could try to prevent to have such error message by making 
> readonly (with states) record fields for which the user has no access 
> write. 
> It is a little bit more work but the experience for the user will be 
> better


Thanks !
Done with this code and applied to all my fields:

_STATES = {
    'readonly': ((Eval('state') != 'draft') | (Eval('_user') != Eval(
'create_uid'))),
}

 

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/65cefba1-69ab-4535-a16d-9f03c9581c05%40googlegroups.com.

Reply via email to