콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
5178 화면

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
4250
2
2월 25
966
1
3월 22
8091
1
8월 16
8601
1
12월 24
4026