It is currently Sun Feb 12, 2012 8:40 am

All times are UTC + 2 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: edit cost ledger (only quantities)
PostPosted: Tue Feb 23, 2010 12:44 pm 
Offline

Joined: Fri Nov 16, 2007 12:47 pm
Posts: 63
Location: Munich
Hi,

I want to add a column into the report "cost ledger (only quantities)" which should show me the user for each entrie line.

I want to do this with the report designer. My Code is:

[[ o.user_ids.user.name ]]
or
[[ o.line_ids.user_id.name ]]

but it doesn't work, the result for each line is "browse_record_list(2)".

Thx for your help.

regards
phz


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 23, 2010 3:31 pm 
Offline

Joined: Mon Dec 03, 2007 8:22 am
Posts: 1472
Location: Belgium
If user_ids and line_ids are one2many field then you can not directly retrive value like this.

for example it line_ids is one2many field then you can print user of first line like this.
Code:
[[ o.line_ids[0].user_id.name ]]

_________________
OpenERP=Easier, Adaptable, Affordable, Modular


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 23, 2010 4:09 pm 
Offline

Joined: Fri Nov 16, 2007 12:47 pm
Posts: 63
Location: Munich
Thx hda for your answer, I undestand the problem....

Thx also for your suggest, but I need the user who has done the task, is there a way to do this?


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

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