configuration des en-têtes

Asked by LOGICA Inf.

Dans la configuration des en-têtes, (Administration > Utilisateurs > Structure de la Société > >Sociétés ) il est possible de créer des en-têtes normales et internes, mais il n'y a pas de moyen de sélectionner l'en-tête interne.

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) said :
#1

Hello Pascal,

You can modify the headers for reports.

You want your own headers?

Kindly clarify this.

Thanks.

Revision history for this message
LOGICA Inf. (logicainf) said :
#2

Hello Jay
I have custom headers (Normal and internal).
But when I send to the server my OpenOffice documents, there is only one issue "Corporate Header" and I can not select the header.

Thank you for your reply

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#3

Hello,

To see the effect of your custom header you need to write the rml inside your module instead of directly sending to server from OpenOffice document.To remove the "Corporate Header" you need to add one argument in report xml file where you configure report and that argument is header="False". If you want corporate header customization then it is also done with the help company object form header fields.

To add your custom internal header you can add it in rml directly by following way:

  <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"/>
   <pageGraphics>
   <setFont name="Helvetica-Bold" size="9"/>

    <!--COL 1-->
    <drawString x="1.0cm" y="28.1cm">[[ company.name ]]</drawString>
    <drawString x="16.2cm" y="28.1cm">Account Balance - [[ company.currency_id.name ]]</drawString>

    <!--COL 2-->
    <setFont name="Helvetica" size="9"/>
    <drawString x="1.0cm" y="1cm"> [[ formatLang(time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()),date_time = True) ]]</drawString>
    <drawString x="19.0cm" y="1cm">Page <pageNumber/></drawString>

       <lineMode width="0.7"/>
    <lines>1cm 27.7cm 20cm 27.7cm</lines>
    <setFont name="Helvetica" size="8"/>

 </pageGraphics>

    </pageTemplate>
  </template>

Can you help with this problem?

Provide an answer of your own, or ask LOGICA Inf. for more information if necessary.

To post a message you must log in.