View unanswered posts | View active topics
|
Page 1 of 1
|
[ 2 posts ] |
|
| Author |
Message |
|
le_dilem
|
Post subject: sql query in odrer line Posted: Sun Aug 14, 2011 4:29 pm |
|
Joined: Wed Dec 22, 2010 10:54 am Posts: 401
|
|
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 |
|
 |
|
SmartIT
|
Post subject: Re: sql query in odrer line Posted: Mon Aug 22, 2011 2:22 pm |
|
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 |
|
 |
|
Page 1 of 1
|
[ 2 posts ] |
|
|
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
|