Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1417 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
srp 25
653
1
čvc 25
891
3
čvc 25
3015
3
kvě 25
1618
1
čvc 25
1101