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

 

 

아바타
취소

@Ramanan, I think you need to define your question a little more specifically. There could be several hundred different answers to your question as it is far to general. You need to map out for yourself exactly what you are trying to achieve in detail, and then once you have defined this you need to provide a more detailed question so that people in this forum can offer help depending on exactly what you are trying to do. Do you want to store an image in product.template? Where would you like it to be 'retrieved' to, what view?

베스트 답변

abin = fields.Binary() is the field used in creating a binary field which can be used for all kind of attachments..

but for image use widget in field like

<field name="abin" widget="image"/>

아바타
취소