Thanks Cedric. It worked.

On Friday, October 11, 2013 2:37:28 PM UTC+5:30, Cédric Krier wrote:
>
> On 11/10/13 01:44 -0700, Narasimha Murthy wrote: 
> > Hi, 
> > I want to create view to show all the employees belongs to logged  in 
> user 
> > current company. 
> > Can i use domain to filter?how do i use domain. 
> > domain('company.company',Eval('user.company')) is correct? 
>
> First, the user company is in the context. 
> Second a domain is a list of tuple. 
>
> So it should look like: 
>
>     [('company', '=', Eval('context', {}).get('company'))] 
>
> -- 
> Cédric Krier 
>
> B2CK SPRL 
> Rue de Rotterdam, 4 
> 4000 Liège 
> Belgium 
> Tel: +32 472 54 46 59 
> Email/Jabber: [email protected] <javascript:> 
> Website: http://www.b2ck.com/ 
>

Reply via email to