It is currently Wed May 23, 2012 2:58 pm

All times are UTC + 2 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: sql query in odrer line
PostPosted: Sun Aug 14, 2011 4:29 pm 
Offline

Joined: Wed Dec 22, 2010 10:54 am
Posts: 402
Please I want to make a sql query in the sale.order.line, and I use a header field, custmer.
but I do not know how to use a header field.

cr.execute('select xxx FROM sale.order.line where customer id=%s', ????? )

thx.

_________________
je fume du thé et je reste éveillé le cauchemar continue


Top
 Profile  
 
 Post subject: Re: sql query in odrer line
PostPosted: Mon Aug 22, 2011 2:22 pm 
Offline

Joined: Thu Oct 28, 2010 1:51 pm
Posts: 53
Hi,
What exactly are you trying to do?
I dont see any need to select any data out of anything that way unless your doing complex joins/where clauses.

_________________
Developing OpenERP Modules for what seems like an eternity
Smart IT Ltd
http://www.smart-ltd.co.uk


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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