Skip to Content
मेन्यू
This question has been flagged
2 Replies
5155 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
मार्च 15
4236
2
फ़र॰ 25
957
1
मार्च 22
8078
1
अग॰ 16
8585
1
दिस॰ 24
4012