Odoo Help

Welcome!

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

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

--Remya--
5813
| 7 8 8
Thiruvananthapuram, India
--Remya--

Working as an Senior ODOO developer. http://in.linkedin.com/pub/remya-r/69/a23/298

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>

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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