Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
14221 Lượt xem
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")


Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

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.



Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 10 19
3482
0
thg 12 24
51
1
thg 2 24
1271
0
thg 12 23
1340
0
thg 8 22
2902