Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
13525 มุมมอง
Hello Everyone,I am new to odoo15 and learning exploring the features odoo offers,I added a html field in product form view and the html code added in this field has to be displayed in product page in website but i am not able to add html code from form view as it takes my html code as normal text as displays as it is in website i have selected code from '/' command from field but seems it doesn't actually react as code segment.

My field:

    product_details = fields.Html(string="Product Details from Manufacturer")


อวตาร
ละทิ้ง

Can you post your views? How the Field is diplayed? 

คำตอบที่ดีที่สุด

Hi

See view form code page ...
field name="description" type="html" options="{'collaborative': true}"

But Html editor as changed for V15 as you can see in this video

https://www.youtube.com/watch?v=gbLyGPD7mdM


You must select text to see html toolbar editor close your modification.



อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ต.ค. 19
3139
0
ธ.ค. 24
51
1
ก.พ. 24
844
0
ธ.ค. 23
981
0
ส.ค. 22
2538