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

Odoo v8: How can old .rml header be embedded in custom qweb report?

By
NSC
on 7/13/15, 6:32 AM 547 views

Would like to know, if it is possible to also use .rml header in company data in qweb reports and if yes, how to embed it there... Would be nice, if I needn't redo it for qweb reports as it is already there in .rml syntax...

0

Solanki Shamji

--Solanki Shamji--
1293
| 5 2 6
Baroda, India
--Solanki Shamji--

Hello!

Solanki Shamji
On 7/14/15, 7:43 AM

Hello,

Try this

<template id="report_xyz>

    <t t-call="report.external_layout">

        <div class="page">

            Display data

        </div>

    </t>

</template>

May be this will display what you want.

No, this is new standard qweb header which has to be newly customized coming from rml. That's why I want to reuse my old rml header which is already there!

NSC
on 7/14/15, 10:04 AM
0
NSC
On 7/14/15, 7:33 AM

Really no idea how to reuse this header in qweb reports?

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: 7/13/15, 6:32 AM
Seen: 547 times
Last updated: 7/14/15, 7:43 AM