Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
5176 Prikazi

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
Opusti
Avtor Best Answer

Product means product template table. I tried both.

Now, I tried what you stated and no error

Avatar
Opusti
Best Answer

Product means

product_product table or product_template table

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
mar. 15
4248
2
feb. 25
964
1
mar. 22
8087
1
avg. 16
8599
1
dec. 24
4024