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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
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
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
3
7月 25
|
2028 | ||
|
0
7月 25
|
209 | ||
|
3
5月 25
|
1065 | ||
|
1
7月 25
|
658 | ||
|
1
5月 25
|
744 |