Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4158 Переглядів

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
3533
0
жовт. 19
4249
1
жовт. 23
2315
4
жовт. 23
4632
2
жовт. 24
2989