Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
9057 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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



Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
gru 21
9872
3
mar 20
8768
1
lip 24
29
2
sie 23
1759
1
lip 23
2188