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

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.

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

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



Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 21
10143
3
thg 3 20
9020
1
thg 7 25
2517
1
thg 7 24
29
2
thg 8 23
2082