It is currently Mon May 21, 2012 4:57 pm

All times are UTC + 2 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Domain
PostPosted: Tue Mar 09, 2010 12:35 pm 
Offline

Joined: Fri Feb 26, 2010 11:08 am
Posts: 13
Hello

I have set up filtering on a field "contract" which should show the different analytical accounts whose partner_id of that is equal to partner_id in view crm.case

Here is my code:

Quote:
'analytic_account_id': fields.many2one ( 'account.analytic.account', 'Contract', domain ="[(' partner_id ',' = ', crm_case.partner_id )]"),


The fields 'analytic_account_id' is in the view 'crm.case.work'

but currently it is not working! the problem came from 'crm_case.partner_id'

So, is it possible to set a domain filtering if the field isn't in the current view?

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 2 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:

Protected by Anti-Spam ACP