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:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
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
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
3
jul 25
|
2060 | ||
|
0
jul 25
|
219 | ||
Import/Export Excel files
Resuelto
|
|
3
may 25
|
1075 | |
|
1
jul 25
|
663 | ||
|
1
may 25
|
755 |