Internal Header/Footer : Not considered for Printing reports

Bug #504718 reported by LOGICA Inf.

This bug report was converted into a question: question #98628: configuration des en-têtes.

16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Status tracked in Trunk
5.0
Fix Released
Undecided
Naresh(OpenERP)
Trunk
Invalid
High
Naresh(OpenERP)

Bug Description

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.

Related branches

affects: openerp-france → openobject-server
Changed in openobject-server:
status: New → Invalid
Revision history for this message
Stephane Wirtel (OpenERP) (stephane-openerp) wrote :

1. I translate this report in English.
In the res.company object, there are one internal header and internal footer but it seems that we can't use them in the report via a configuration form.

2. I reopen this bug.

Thanks

Stephane

Changed in openobject-server:
status: Invalid → New
importance: Undecided → High
Changed in openobject-server:
status: New → Confirmed
summary: - configuration des en-têtes
+ Internal Header/Footer : Not considered for Printing reports
Changed in openobject-server:
assignee: nobody → nch(OpenERP) (nch-openerp)
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello LOGICA Inf,

Thanks for reporting.
One thing about using Internal header that you should keep in mind is:
     1. When you create an instance of report_sxw.report_sxw() in your report's .py file at that time there is one argument named as
        "header" which takes the value as header= 1 : for defuault header/footer and header=2 for Internal header.
     2. The option "header" provided in xml file says that do you need header or not. i.e it takes values as header=True or header=False

I would like you to test a patch that I am providing and notify me.

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello LOGICA Inf,

Thanks for reporting.

One thing about using Internal header that you should keep in mind is:
     1. When you create an instance of report_sxw.report_sxw() in your report's .py file at that time there is one argument named as
        "header" which takes the value as header= 1 : for corporate(default) header/footer and header=2 for Internal header.
     2. The option "header" provided in xml file where you declare your report takes values as header=True or header=False
         header = True says that you need header that is specified in your .py file(corporate/internal)
        header = False says you dont need any of the headers inspite of there declaration in .py

I would like you to test a patch that I am providing and notify me.

thanks

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :
Changed in openobject-server:
status: Confirmed → In Progress
status: In Progress → Fix Committed
status: Fix Committed → In Progress
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello

I have commited the fix in stable version 1987 <email address hidden>

for the trunk version we would improve this functionality by putting a selection box with different choice so that the user can change this from the client too.

thnks.

Changed in openobject-server:
status: In Progress → Fix Released
Revision history for this message
Richard (John) Nopkins@Servosoft (richard-nopkins) wrote :

hi nch(openerp),

can you focus here?
thanks.

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

hello John,

Surely I would focus on this . I am just waiting for the confirmation on this from my seniors. and even it would be nice if you have any suggestions regarding this.

Thanks,

Revision history for this message
Richard (John) Nopkins@Servosoft (richard-nopkins) wrote :

thanks nch,
is that done on trunk too?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.