Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
7163 Lượt xem

I Designing a qweb report template for the Dashboard, in this I have a table with the number of columns in that I want to specify some column to show for the particular users groups only.

Example:

If I want to Show the dashboard column value into the Sales Users Groups only means I want to Show the Particular Column to  Sales Users Groups only. 

Is there any way to specify groups tag in qweb report template in the table column.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

yes you can

do it like

<t groups="sales_team.group_sale_salesman">

    (define your code inside this

    like)

    <span t-field="o.partner_id.name"/>

</t>


thank you

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 7 19
3054
1
thg 5 19
2676
0
thg 1 20
3633
1
thg 6 18
14
2
thg 5 18
13587