Skip to Content
Menu
This question has been flagged
1 Reply
8443 Views

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.

Avatar
Discard
Best Answer

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



Avatar
Discard
Related Posts Replies Views Activity
1
Dec 21
8893
3
Mar 20
7926
1
Jul 24
24
2
Aug 23
987
1
Jul 23
1327