コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
5171 ビュー

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.

アバター
破棄
著作者 最善の回答

Product means product template table. I tried both.

Now, I tried what you stated and no error

アバター
破棄
最善の回答

Product means

product_product table or product_template table

アバター
破棄
関連投稿 返信 ビュー 活動
2
3月 15
4240
2
2月 25
961
1
3月 22
8084
1
8月 16
8598
1
12月 24
4023