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

How can I add field into notebook/page (Tab) near name?

I want to display number of record in page. For example I have notebook/page  with name ="Books"

and inside this page I have field One2many with books. I want to display count of books in this field in a front of string Books, so it would be look like:

(12) Books


How can I insert field directly to 

<page string="Books">
<field name="book_list" />
</page>

 

아바타
취소
베스트 답변

Hi Kirill,

You can create new compute field and display like this ...

()
Book
Books

Thanks

 iWesabe

아바타
취소
작성자

Hi thank you for your response

베스트 답변

Hi odoo community,


let me raise this question again. We are having the same issue here. We like to display the amount of records in the tab title.


Is there any solution for that in the meantime?


Thanks for any hint!


Regards,

Riccardo

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

Hi Shameen,

Thank you for your respond. I will try to use computed field for this porpouse.

But the question was how can I insert this field in to page name. The structure of page is:

<form>
<sheet>
<notebook>
<page string="Books"> - here I want to insert this computed field.
<field name="book_list"/> - One2many field
</page>
</notebook>
</sheet>
</form>


 
아바타
취소
관련 게시물 답글 화면 활동
1
8월 22
4567
3
9월 24
15726
3
3월 16
4381
0
2월 16
4107
3
10월 21
4727