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

In OpenERP 7

I have a client that needs to see the supplier name (Just one if there are multiple suppliers) in the product listing. I've tried using related fields but can't seem to get the syntax right.

Have tried:

'x_suppliername': fields.related('seller_ids','name',type='many2one', relation='product.supplierinfo','string='Supplier'),

Can anyone help me on this?

아바타
취소
베스트 답변
'x_suppliername': fields.related('seller_ids', string='Supplier'),
아바타
취소
관련 게시물 답글 화면 활동
0
10월 15
3845
1
3월 15
4713
2
3월 15
5528
1
2월 25
7758
5
2월 24
15945