İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1279 Görünümler

how can i hide units like margin from Measures At reports Pivot View ?

Avatar
Vazgeç
En İyi Yanıt

Hi,

To hide the margin field from the pivot view in the Sales Orders report using Odoo XML customization, you can override the view and make the field invisible using the following code:


<record id="sale_order_pivot_custom" model="ir.ui.view">

    <field name="name">sale.order.pivot.custom.inherit</field>

    <field name="model">sale.order</field>

    <field name="inherit_id" ref="sale.view_order_pivot"/>

    <field name="arch" type="xml">

        <xpath expr="//field[@name='margin']" position="attributes">

            <attribute name="invisible">1</attribute>

        </xpath>

    </field>

</record>


Hope it helps

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
3
Tem 25
2156
0
Tem 25
279
3
May 25
1147
1
Tem 25
709
1
May 25
795