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

Hi,

Am trying to bring the fields in the product form which is defined in the back end to website.How can i do that am using odoo 12 community version.

Thanks in advance

아바타
취소
베스트 답변

Hi,

There is field in product form called description for customer by filling this fields the description that we wrote will appear in the website.

If you want to add additional field write the following code.

<template id="product_quick_view_extended" inherit_id="website_sale.product">
<xpath expr="//t[@t-call='website.layout']" position="inside">
<xpath>
You can describe your fields here for eg.
<span t-field="product.barcode"/>
</xpath>
</xpath>
</template>



아바타
취소
관련 게시물 답글 화면 활동
2
6월 20
3712
0
10월 19
4340
1
10월 23
2484
4
10월 23
4897
2
10월 24
3144