跳至內容
選單
此問題已被標幟
1 回覆
7175 瀏覽次數

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.

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
7月 19
3055
1
5月 19
2676
0
1月 20
3635
1
6月 18
14
2
5月 18
13593