I create a text field with size=4000. I can see the right line break effect in edit mode, but in not edit mode the text is one line without line break.
I use the style as below, but it does not work. Could someone know how to solve the line break problem in using the text field?
omment_log = fields.Text(string='doctor word', size=4000)
<div colspan="6" style="white-space:pre-wrap;">
<field name="comment_log"/>
div>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Buchhaltung
- Lager
- PoS
- Project
- MRP
Diese Frage wurde gekennzeichnet
2016
Ansichten
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
RegistrierenVerknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
---|---|---|---|---|
|
2
Dez. 24
|
2272 | ||
|
2
Mai 23
|
2275 | ||
|
1
Apr. 23
|
10366 | ||
|
0
Jan. 24
|
8535 | ||
|
1
Juni 15
|
4765 |