콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
2828 화면

Right now, when I look at the Calendar app in Month view, it shows the entries each with one line listing the truncated (to fit the one line) Meeting Subject and the Starting Time.

Is it possible to add more information and have the entry be, maybe, 2 or 3 lines long?

For example, I'd like the full Meeting Subject shown multi-line, as well as the duration of the meeting, rather than the Starting Time.

Week view entries are multi-line to fit the size of the entry based on the duration but still only show the Meeting Subject and no other information.

Thanks!

아바타
취소
작성자 베스트 답변

I found a way to stretch the box itself using CSS but not change the text. However, I am told by a nearby dev that it's possible. If I manage to do it, I'll post code here.

For now, here is the CSS that manually stretches the box. (It's not dynamic and can only used a fixed px height. If someone else can make it work dynamically and wrap the text, that would be AWESOME.)

/* this one is the container on all calendar views */

.fc-view-container * {

    min-height: 60px !important;

    overflow-y: visible !important;

}

There are also these two which do something, but I can't get it figured out:

/* this one is just month view event box */
.fc-day-grid-event * {
min-height: auto !important;
text-wrap: wrap !important;
}


/* this one does something */
.o_event_title {
/*overflow-wrap: break-word;*/
/*text-wrap: wrap;*/
/*border-radius: 5px;*/
/*padding: 2px;*/
/*line-height: 10px;*/

/*height: auto !important;*/
/*min-width: 600px !important;*/
/*min-height: 100px !important;*/
/*overflow-x: visible !important;*/
/*overflow-y: visible !important;*/
/*height: 400px !important;*/
}


AND HERE is how I got the text to change. I found it in the base code and it's even commented to show you what to do... like the Odooers knew someone would want to do it.




아바타
취소
베스트 답변

I would be happy to see a multiline display in calendars too.

btw I can't find a documentation which fields will be shown (my calendar view only displays the model name and id)

아바타
취소
작성자

See my edited answer above. I pasted in a screenshot of some code (for some reason, pasting in code never works for me.)

베스트 답변

Hello Kent,

Unfortunately this is not possible in standard. You will only see a few characters of the meeting's title, the duration of the meeting and the slot as you mentioned. 

However, you can quickly see all information just by clicking on the meeting. 

Hope this help ! 

Diego

아바타
취소
작성자

Actually.... I got it to work. Here's how.

작성자

See my answer above.

관련 게시물 답글 화면 활동
1
7월 25
670
2
6월 25
1107
1
5월 25
2572
1
4월 25
3770
0
12월 23
1890