Report Printing
Hi
I want to print "Invoice Totals" at end of my report, completely at the bottom of the page.
Even if I have my invoice of 2 pages I have to print the "Totals" at bottom
Is there something like "Report Footer" in OpenOffice.org?
Please advise
Jennifer
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- OpenBMS JSC
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hi Jennifer,
Are you sure you have the correct Launchpad project? Drizzle is an SQL database. It sounds like you are using something with a graphic interface.
Revision history for this message
|
#2 |
Really sorry wrongly posted this question, it should have been in OpenERP addons
Revision history for this message
|
#3 |
I shall print the invoice on a Pre-Printed format whereby the Totals grid appear at the bottom.
Revision history for this message
|
#4 |
try the attached rml instead the default rml
/account/
Thanks
Pe 08.03.2011 08:51, Jennifer a scris:
> Question #148150 on OpenERP Addons changed:
> https:/
>
> Status: Needs information => Open
>
> Jennifer gave more information on the question:
> I shall print the invoice on a Pre-Printed format whereby the Totals
> grid appear at the bottom.
>
Revision history for this message
|
#5 |
sorry, I've attached the file, but launchpad didn't show:
<?xml version="1.0"?>
<document filename=
<template pageSize=
allowSplitting=
<pageTemplate id="first">
<frame id="first" x1="0mm" y1="0mm" width="210mm" height="305mm"/>
<pageGraphics>
<setFont name="DejaVu Sans" size="10"/>
<drawString x="140mm" y="283mm"> [[ (o.partner_id and o.partner_id.name)
or '' ]] [[ (o.partner_id and o.partner_id.title and
o.partner_
<drawString x="175mm" y="275mm">[[ (o.partner_id and o.partner_id.nrc)
or removeParentNod
<drawString x="155mm" y="270mm">[[ (o.partner_id and o.partner_id.vat)
or removeParentNod
<drawString x="165mm" y="265mm">[[ (o.address_
o.address_
<drawString x="155mm" y="260mm">[[ (o.address_
o.address_
removeParentNod
<drawString x="155mm" y="255mm">[[ (o.partner_
removeParentNod
<drawString x="155mm" y="250mm">[[ (o.partner_
or removeParentNod
<drawString x="110mm" y="240mm">[[ formatLang(
]]</drawString>
<setFont name="DejaVu Sans" size="10"/>
<drawRightString x="165mm" y="48mm">[[ formatLang(
digits=
<drawRightString x="195mm" y="48mm">[[ formatLang(
digits=
<drawRightString x="195mm" y="12mm">[[ formatLang(
digits=
</pageGraphics>
</pageTemplate>
</template>
<stylesheet>
<blockTableStyle id="Standard_
<blockAlignment value="LEFT"/>
<blockValign value="TOP"/>
</blockTableStyle>
<blockTableStyle id="Table_
<blockAlignment value="LEFT"/>
<blockValign value="TOP"/>
</blockTableStyle>
<blockTableStyle id="Table_
<blockAlignment value="LEFT"/>
<blockValign value="TOP"/>
</blockTableStyle>
<blockTableStyle id="Table_
<blockAlignment value="LEFT"/>
<blockValign value="TOP"/>
</blockTableStyle>
<blockTableStyle id="Table7">
<blockAlignment value="LEFT"/>
<blockValign value="TOP"/> </blockTableStyle>
<blockTableStyle id="Table8">
<blockAlignment value="LEFT"/>
<blockValign value="TOP"/>
</blockTableStyle>
<blockTableStyle id="Table10">
<blockAlignment value="LEFT"/>
<blockValign value="TOP"/>
</blockTableStyle>
<blockTableStyle id="Table9">
<blockAlignment value="LEFT"/>
<blockValign value="BOTTOM"/>
</blockTableStyle>
<blockTableStyle id="Table2">
<blockAlignment value="LEFT"/>
<blockValign value="TOP"/>
</blockTableStyle>
<blockTableStyle id="Table1">
<blockAlignment value="LEFT"/>
<blockValign value="TOP"/>
</blockTableStyle>
<initialize>
<paraStyle name="all" alignment=
</initialize>
<paraStyle name="P1" fontName=
spaceBefore="0.0" spaceAfter="6.0"/>
<paraStyle name="Standard" fontName=
<paraStyle name="Text body" fontName=
spaceAfter="6.0"/>
<paraStyle name="List" fontName=
spaceAfter="6.0"/>
<paraStyle name="Table Contents" fontName=
spaceAfter="6.0"/>
<paraStyle name="Table Heading" fontName=
spaceBefore="0.0" spaceAfter="6.0"/>
<paraStyle name="Caption" fontName=
leading="13" spaceBefore="6.0" spaceAfter="6.0"/>
<paraStyle name="Index" fontName=
<paraStyle name="Heading" fontName=
leading="19" spaceBefore="12.0" spaceAfter="6.0"/>
<paraStyle name="terp_header" fontName=
leading="15" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0" />
<paraStyle name="terp_
fontName="DejaVu Sans" fontSize="10.0" leading="10" alignment="LEFT"
spaceBefore="0.0" spaceAfter="0.0" />
<paraStyle name="terp_
fontName=
spaceBefore="0.0" spaceAfter="0.0" />
<paraStyle name="Footer" fontName=
<paraStyle name="Horizontal Line" fontName=
leading="8" spaceBefore="0.0" spaceAfter="14.0"/>
<paraStyle name="Heading 9" fontName=
leading="NaN" spaceBefore="12.0" spaceAfter="6.0"/>
<paraStyle name="terp_
fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="6.0"
spaceAfter="6.0"/>
<paraStyle name="terp_
fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="6.0"
spaceAfter="6.0"/>
<paraStyle name="terp_
fontName=
spaceBefore="0.0" spaceAfter="0.0"/>
<paraStyle name="terp_
fontName=
spaceBefore="6.0" spaceAfter="6.0"/>
<paraStyle name="terp_
fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="6.0"
spaceAfter="6.0"/>
<paraStyle name="terp_
fontName=
spaceBefore="6.0" spaceAfter="6.0"/>
<paraStyle name="terp_
fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="6.0"
spaceAfter="6.0"/>
<paraStyle name="terp_
leftIndent="0.0" fontName="DejaVu Sans" fontSize="10.0" leading="10"
alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
<paraStyle name="terp_
leftIndent="0.0" fontName=
alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
<paraStyle name="terp_
fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0"
spaceAfter="6.0"/>
<paraStyle name="terp_
fontSize="12.0" leading="15" alignment="CENTER" spaceBefore="12.0"
spaceAfter="6.0"/>
<paraStyle name="terp_
leftIndent="0.0" fontName=
alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
<paraStyle name="terp_
fontName=
spaceBefore="0.0" spaceAfter="0.0"/>
<paraStyle name="terp_
leftIndent="-3.0" fontName=
alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
<paraStyle name="terp_
leftIndent="0.0" fontName=
alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
<paraStyle name="terp_
leftIndent="0.0" fontName=
alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
<paraStyle name="terp_
leftIndent="-3.0" fontName=
alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
<paraStyle name="terp_
fontName=
spaceBefore="0.0" spaceAfter="0.0"/>
<paraStyle name="terp_
leftIndent="0.0" fontName=
alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0" textColor=
<paraStyle name="terp_
fontName=
alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
<paraStyle name="Table" fontName=
leading="13" spaceBefore="6.0" spaceAfter="6.0"/>
<paraStyle name="User Index 10" rightIndent="0.0" leftIndent="127.0"
fontName=
<paraStyle name="Preformatted Text" fontName=
leading="13" spaceBefore="0.0" spaceAfter="0.0"/>
<paraStyle name="Frame contents" fontName=
spaceAfter="6.0"/>
<images/>
</stylesheet>
<story>
<para style="
<para style="
<blockTable colWidths="1.0,1.0" style="
<tr>
<td>
<para style="
<font color="white"> </font>
</para>
</td>
<td>
<para style="
<para style="
<para style="
<para style="
<para style="
<para style="
<para style="
<font color="white"> </font>
</para>
<para style="
<para style="
<para style="
</td>
</tr>
</blockTable>
<para style="
<para style="
<font color="white"> </font>
</para>
<blockTable colWidths=
<tr>
<td>
<para style="
color="
</td>
<td>
<para style="
color="
</td>
<td>
<para style="
color="
</td>
</tr>
</blockTable>
<blockTable colWidths=
style="
<tr>
<td>
<para style="
</td>
<td>
<para style="
</td>
<td>
<para style="
</td>
</tr>
</blockTable>
<para style="
<font color="white"> </font>
</para>
<blockTable colWidths=
<tr>
<td>
<para style="
color="
<para style="
<para style="
</td>
<td>
<para style="
color="
</td>
<td>
<para style="
color="
</td>
<td>
<para style="
Price </font></para>
</td>
<td>
<para style="
color="
</td>
<td>
<para style="
color="
</td>
</tr>
</blockTable>
<section>
<para style="
<blockTable
colWidths=
style="Table8">
<tr>
<td>
<para style="
</td>
<td>
<para style="
<para style="
</td>
<td>
<para style="
</td>
<td>
<para style="
'' ]]</para>
</td>
<td>
<para style="
</td>
<td>
<para style="
formatLang(
]]</para>
</td>
<td>
<para style="
digits=
</td>
<td>
<para style="
l.invoice_
</td>
<td>
<para
style="
digits=0)]]%</para>
</td>
</tr>
</blockTable>
</section>
<para style="Text body">
<font color="white"> </font>
</para>
<section>
<para style="
</section>
<para style="
<font color="white"> </font>
</para>
<para style="
removeParentNod
<para style="
<font color="white"> </font>
</para>
<para style="
and format(
removeParentNod
<para style="
<font color="white"> </font>
</para>
<blockTable colWidths=
<tr>
<td>
<para style="
</td>
<td>
<para style="
o.fiscal_
removeParentNod
</td>
</tr>
</blockTable>
<para style="
<font color="white"> </font>
</para>
<para>
<seqReset id="L1"/>
</para>
</story>
</document>
Pe 08.03.2011 09:09, filsys a scris:
> Question #148150 on OpenERP Addons changed:
> https:/
>
> Status: Open => Answered
>
> filsys proposed the following answer:
> try the attached rml instead the default rml
> /account/
> Thanks
>
> Pe 08.03.2011 08:51, Jennifer a scris:
>> Question #148150 on OpenERP Addons changed:
>> https:/
>>
>> Status: Needs information => Open
>>
>> Jennifer gave more information on the question:
>> I shall print the invoice on a Pre-Printed format whereby the Totals
>> grid appear at the bottom.
>>
Revision history for this message
|
#6 |
Dear Filsys
Thanks a lot for your support. However I am modifying in openoffice.org writer i.e the sxw file....please advise
Revision history for this message
|
#7 |
If I am not mistaken, openoffice report designer is a tool that convert sxw to rml, but partial. Also, reportlab implementation in openerp is not complet. Header and footer from sxw is never converted in rml. If you want to supply header and footer to report, you have two options:
1. use global header and footer from company configuration or,
2. adapt your rml by write header and footer fields in absolute coordination, as I you show in rml attached previously.
Or, the third way, use frames in rml.
Thanks
Revision history for this message
|
#8 |
Dear filsys
Thanks again for your support, it's really encouraging. however, my invoice report is in landscape format and I need to print the client name, contact and addresses on page header and the totals in the footer.
Sorry to bother you, would appreciate if you could help or refer someone else to help regarding the openoffice.org writer.
Many thanks
Revision history for this message
|
#9 |
Hello Jennifer
i would really suggest you to have a look at aeroo or jasper_report addons.
they are not official and supported by openerp sa, but much more easy to understand and use than the standard report engine
Revision history for this message
|
#10 |
Hello Davide
Thank you for your support. I shall try the jasper_report addons and inform you
Many Thanks
Jennifer
Revision history for this message
|
#11 |
Hello Davide
I have downloaded the jasperreports-4.0.1 but I don't know how to use it, as it's only a folder containing files there is no installation as such.
Please advise
Jennifer
Revision history for this message
|
#12 |
Hello Jennifer,
you just need to download the jasper_report addon from here:
https:/
then have a look at here:
you can also buy a manual from this website:
Revision history for this message
|
#13 |
Dear Davide
I have gone through the links but the manual is on sale anyway, does aeroo also works same, can you please highlight me a bit.
Thanks a lot for your support.
Jennifer
Revision history for this message
|
#14 |
Hi ALL
I have downloaded the Jasper_report.zip file but when I try to unzip the file it gives a warning message: Unexpected end of archive. Any guess where I am wrong
Kind regards
Jennifer
Revision history for this message
|
#15 |
It looks like that the archive is not downloaded completely. Try to download
again, and compare the size, or better yet, use MD5/SHA1 checksum
Hope this help.
Revision history for this message
|
#16 |
Thanks Phong Nguyen-Thanh, that solved my question.