On 2016-06-09 06:21, Maxime Richez wrote:
> 
> > As it is neither global nor default, are you sure you have added the 
> > rule to a user when testing? 
> >
> Effectively, my rule is not added for a user, i'll set rule default.
> And how to add a rule to a specific user in the xml file ? <field 
> name="user" ref ??? >

You must create a record of type: ir.rule.group-res.user
But I think we should remove this per user basis to work only with
group: ir.rule.group-res.group

> How can i apply my domain only when user try to modify a record ? Because 
> if i apply the domain, i only see user's records and not all records..

You have to create a global rule with perm_read for all (empty domain).

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
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/20160609134005.GG23431%40tetsuo.

Reply via email to