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

Report Questions

By
Mr_M
on 3/18/15, 3:45 PM 605 views

 

3

Vasanth

--Vasanth--
3458
| 5 3 8
Pondicherry, India
--Vasanth--
Vasanth
On 3/19/15, 1:28 AM

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

<openerp>

<data>

<template id="sample_report">

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

<t t-foreach="docs" t-as="o">

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

<div class="page">

<div class="header">

==================

==================

</div>

<p>Hello: <t-esc="name" /></p>

<div class="footer">

==============

==============

</div>

</div>

</t>

</t>

</t>

</template>


<report id="ledger_report"

string=" Ledger Report"

model="your_model_name"

report_type="qweb-pdf"

file="your_model_name.sample_report"

name=" Ledger Report" />


</data>

</openerp>



For window action:

settings/Technical/Actions/Window Actions/ type your model name  or "Ledger Report" in search view


Thank you very much for the answer Vasanth ... Could you post a summary of the initial question please !!!??? to help other people... Because Mr_M seems not to have understood the purpose of a forum !

Jérémy Kersten (jke)
on 3/21/15, 6:28 PM

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: 3/18/15, 3:45 PM
Seen: 605 times
Last updated: 3/23/15, 5:08 PM