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

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



อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
How to use KPI digests? แก้ไขแล้ว
1
ธ.ค. 21
10155
3
มี.ค. 20
9028
1
ก.ค. 25
2521
1
ก.ค. 24
29
2
ส.ค. 23
2085