コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
9247 ビュー

Here is the view code: It is working fine and showing to me


<record id="view_product_profitability_pivot" model="ir.ui.view">
<field name="name">product.profitability.report.pivot</field>
<field name="model">sale.order.line</field>
<field name="arch" type="xml">
<pivot string="Sales Analysis" disable_linking="True">
<field name="oper_areaa"  type="col"/>
<field name="product_brand_id"  type="row"/>
</pivot>
</field>
</record>

I want to show operational area in + icon and when some one click on + icon it will show list of area in row format how can i do that please help me.

アバター
破棄
最善の回答

remove the 

<field name="oper_areaa"  type="col"/>
and you'll be able to choose oper_areaa in the row

that code means that by default, you want the report to group the column by oper_areaa and the row by product_brand_id. because the field already choosed in the report,  you won't be able to choose it again



アバター
破棄
関連投稿 返信 ビュー 活動
1
12月 21
10135
3
3月 20
9010
1
7月 25
2512
1
7月 24
29
2
8月 23
2064