Hello, I am trying to remove the shipping address part from the  purchase order report by inheriting the report and replacing the following part: 
 
by creating a new custom module and inheriting the report with following code: 
    
           
but it doesn't work at all. 
I made sure the manifest.py file has the new xml file in it. 
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- CRM
- e-Commerce
- 会計
- 在庫
- PoS
- プロジェクト
- MRP
この質問にフラグが付けられました
            
                1
                
                    返信
                
            
        
        
            
                3699
                
                    ビュー
                
            
        
    Hi,
Please add below code also in your xml file,becasue in purchase_stock module odoo extend the report template and add else case ,in your case the else case is working ,so you need to replace that part of also...
<template id="report_purchaseorder_document_inherit_purchase_stock"
inherit_id="purchase_stock.report_purchaseorder_document">
<xpath expr="//t[@t-else]" position="replace">
</xpath>
</template>
inherit_id="purchase_stock.report_purchaseorder_document">
<xpath expr="//t[@t-else]" position="replace">
</xpath>
</template>
| 関連投稿 | 返信 | ビュー | 活動 | |
|---|---|---|---|---|
|  | 1 2月 24  | 3898 | ||
|  | 1 6月 23  | 4552 | ||
|  | 1 12月 22  | 3155 | ||
|  | 3 4月 24  | 9077 | ||
|  | 0 3月 24  | 2219 | 
