Skip to Content
Menu
This question has been flagged
2 Replies
5686 Views

<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.

 

 

 

Avatar
Discard
Best Answer

<?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.

 

Avatar
Discard
Best Answer

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>

Avatar
Discard
Related Posts Replies Views Activity
0
Oct 24
163
0
Aug 24
166
0
Jan 24
742
1
Nov 23
420
0
Jun 23
975