Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4235 มุมมอง

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>



อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
มิ.ย. 20
3623
0
ต.ค. 19
4300
1
ต.ค. 23
2423
4
ต.ค. 23
4771
2
ต.ค. 24
3082