Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4295 Tampilan

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

Avatar
Buang
Jawaban Terbai

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>



Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
2
Jun 20
3653
0
Okt 19
4310
1
Okt 23
2449
4
Okt 23
4803
2
Okt 24
3109