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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
2057
瀏覽次數
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
2
12月 24
|
2351 | ||
|
2
5月 23
|
2305 | ||
|
1
4月 23
|
10428 | ||
|
0
1月 24
|
8586 | ||
|
1
6月 15
|
4799 |