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
- Účetnictví
- Sklad
- PoS
- Project
- MRP
This question has been flagged
2046
Zobrazení
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit seRelated Posts | Odpovědi | Zobrazení | Aktivita | |
---|---|---|---|---|
|
2
pro 24
|
2332 | ||
|
2
kvě 23
|
2301 | ||
|
1
dub 23
|
10397 | ||
|
0
led 24
|
8579 | ||
|
1
čvn 15
|
4794 |