跳至內容
選單
此問題已被標幟
1 回覆
4227 瀏覽次數

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
3608
0
10月 19
4298
1
10月 23
2409
4
10月 23
4767
2
10月 24
3077