Skip to Content
Menú
This question has been flagged
2 Respostes
5129 Vistes

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
Descartar
Autor Best Answer

Product means product template table. I tried both.

Now, I tried what you stated and no error

Avatar
Descartar
Best Answer

Product means

product_product table or product_template table

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de març 15
4231
2
de febr. 25
946
1
de març 22
8068
1
d’ag. 16
8562
1
de des. 24
3989