Skip to Content
Menu
This question has been flagged
2 Replies
5288 Views

I am trying to get  a value into a field from the product table using self.cr.execute.

But I am getting an error ValueError: <class 'psycopg2.ProgrammingError'>: 
self._cr.execute('select id  from product where id = %s ',(id1,))

"relation "product" does not exist

I tried everything and searched many documents.

Avatar
Discard
Author Best Answer

Product means product template table. I tried both.

Now, I tried what you stated and no error

Avatar
Discard
Best Answer

Product means

product_product table or product_template table

Avatar
Discard
Related Posts Replies Views Activity
2
Mar 15
4387
2
Feb 25
1083
1
Mar 22
8228
1
Aug 16
8756
1
Dec 24
4235