跳至内容
菜单
此问题已终结
3 回复
419 查看

Is there a way in th GUI to change text formatting or is that only in developer mode?


Where would I change that?


I want the ability to highlight specific words in a product description. Is that possible or do I need to hard code it in?

形象
丢弃
编写者 最佳答案

Does that apply to the font size on the phone app?

形象
丢弃
最佳答案

Hi,


In Odoo, the Product Description field is typically defined as a Character field (Char), which only supports plain text input. This means you cannot apply formatting such as bold, italic, colored text, or bullet points within that field.

Otherwise, it must be customized through code by modifying the model and view definitions in a custom module.


On the other hand, fields defined as HTML (like the Internal Note field) support rich text formatting. These fields allow you to use styles, links, colors, and even embedded images.


Hope it helps

形象
丢弃
最佳答案

The product description field does not have any formatting options - because it does not have a HTML editor applied to it.

While this could potentially have been implemented in Odoo core already along time ago, there is, in my opinion, one crucial limitation, namely, the support for EDI. It doesn't help your customer if you provide a fancily styled sale order or invoice if their system they want to import it to does not support HTML for said descriptions.

形象
丢弃