forum-u...@tinyerp.org wrote:
> Stuck on this one even though it seems like it should be easy.
> 
> User A should be able to edit suppliers but should only have read access to 
> customers. 
> 
> User B should be able to edit customers but should only have read access to 
> suppliers.
> 
> If customer and supplier then higher permission works. If neither then allow 
> edit.
> 
> Is their an elegant solution for this - could it be handled in some way by 
> attr in the view for each field looking at the user and the group? or do I 
> need to get very messy and do something like create partner_supplier, 
> partner_customer and partner_other and then assign standard group permissions 
> and link back to partner just for the name. But if I do this I have no doubt 
> this will cause huge probs down the line.

I looked into this a while back and the only way right now is to 
override the write method on res_partner with your custom rules.
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to