跳至内容
菜单
此问题已终结
2 回复
11436 查看

I have added a signature line in PO with openoffice but how to place it at the bottom of the page?

形象
丢弃
最佳答案

You can set different footer for different reports in rml file. You just need to specify in your rml file in pageTemplate tag header section.

Here is an example,

image description

You can see at the bottom of the page, I have added a dynamic footer. Whoever are employee, chief accountant, CEO the signature of them will appear in footer part.

For that I have done some changes in rml file.

<template pageSize="(595.0,842.0)" title="Test" author="Martin Simon" allowSplitting="20">
    <pageTemplate id="first">
      <frame id="first" x1="57.0" y1="57.0" width="481" height="728"/>
       <header>
            <pageGraphics>
                <setFont name="Helvetica-Bold" size="7"/>
                <drawString x="1.1cm" y="3.3cm">I CONFIRM THE ABOVE SAID THE ABSENT DAYS ARE CORRECT.</drawString>
                <setFont name="Helvetica-Bold" size="7"/>
                <drawString x="1.1cm" y="2.7cm">EMPLOYEE SIGNATURE</drawString>
                <drawString x="1.1cm" y="1.5cm">................................................</drawString>
                <drawString x="8.5cm" y="2.7cm">CHIEF ACCOUNTANT</drawString>
                <drawString x="8.0cm" y="1.5cm">................................................</drawString>
                <drawString x="16.1cm" y="2.7cm">C.E.O.</drawString>
                <drawString x="15.0cm" y="1.5cm">................................................</drawString>
            </pageGraphics>
      </header>
    </pageTemplate>
</template>
形象
丢弃
编写者

Care to share how to go about? I just get to the point on changing report with open office. Could I change RML file with vi editor in addons/... or I have to export it out from OO then import to make it work?

You can make changes in any RML file you want with any text editor you like. You can refer other RML files of addons too. For better information you can refer this link http://doc.openerp.com/v6.1/developer/05_reports.html.

编写者

Thanks Keyur, just want to add a small note. Disable RML Header at Setting/Action/Report/"the report"

how can i put signature at the footer of sxw file in openoffice ?

最佳答案

Hi ,

you can edit footer of the page.

Menu Settings>>Companies select your companie ,in end of form compagnie see Report Footer Configuration cheked Custom Footer and in Report Footer add your signature.

you can see tab Header/Footer.

形象
丢弃
编写者

But how to add diff signature line for example in Quotation we add Issue By only but in invoice we need Received by and DO Delivery By

This one you have to do customization as far as i know.