Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
413 Widoki

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?

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć