Odoo Help

0

How to change the name of the report without editing the name in base class

By
Vigneshwaran
on 10/3/14, 12:21 AM 1,142 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.

 

 

 

2
Remya
On 10/3/14, 2:35 AM

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

 

0
Ashif Abdulrahman
On 10/3/14, 2:01 AM

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>

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 10/3/14, 12:21 AM
Seen: 1142 times
Last updated: 3/16/15, 8:10 AM