Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
5132 Tampilan

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
Buang
Penulis Jawaban Terbai

Product means product template table. I tried both.

Now, I tried what you stated and no error

Avatar
Buang
Jawaban Terbai

Product means

product_product table or product_template table

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
2
Mar 15
4232
2
Feb 25
946
1
Mar 22
8069
1
Agu 16
8565
1
Des 24
3989