Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
12019 มุมมอง

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>


 
อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ส.ค. 22
4416
set one page(Tab) as default in notebook แก้ไขแล้ว
3
ก.ย. 24
15622
3
มี.ค. 16
4307
0
ก.พ. 16
4030
3
ต.ค. 21
4621