how can i hide units like margin from Measures At reports Pivot View ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
This question has been flagged
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye OlRelated Posts | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
1
Mar 25
|
2340 | ||
|
2
Mar 25
|
523 | ||
|
2
Mar 25
|
1031 | ||
|
1
Şub 25
|
658 | ||
|
7
Şub 25
|
1645 |