Can these apply also for a set of groups?
On Monday, June 13, 2016 at 4:49:00 PM UTC+8, Maxime Richez wrote:
>
>
> 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/24bb5f22-bef6-4794-90e2-9f64e5e01880%40googlegroups.com.