跳至內容
選單
此問題已被標幟
2 回覆
6249 瀏覽次數

<openerp>
    <data>

        <report auto="False"
                id="report12_sale_order"
                model="so.order"
                name="so.order"
                rml="sample/report_name/so_order.rml"
                string="vignesh"
                usage="default"/>

    </data>
</openerp>

the problem is when I click the print button, I am getting quotation/order and vignesh but I need to display only vignesh as pdf name

P.S I dont want to edit the name of the report in rml="sale/report/sale_order.rml" string="Quotation / Order" in base class.

 

 

 

頭像
捨棄
最佳答案

<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>

       <report auto="False"
                id="report12_sale_order"
                model="so.order"
                name="so.order"
                rml="sample/report_name/so_order.rml"
                string="vignesh"
                usage="default"/>

    </data>
</openerp>

In your custom module. 

Or

In your openerp database, you can directly change the report name like below...

Settings --> Technical --> Actions --> Reports 

There you can change the Report name.

 

頭像
捨棄
最佳答案

Please use this on your module

<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>

        <report auto="False" id="sale.report_sale_order" model="sale.order" name="sale.order"
                rml="sale/report/sale_order.rml" string="Vignesh"
                usage="default"/>

    </data>
</openerp>

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
10月 24
1627
0
8月 24
1455
0
1月 24
1995
1
11月 23
1670
0
6月 23
1990