Illustration tag don't work for multi object printting

Bug #535559 reported by Joël Grand-Guillaume @ camptocamp
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
High
Naresh(OpenERP)

Bug Description

Hello,

The problem come from the bvr report of l10n_ch, but the bug is true on other reports,
When you select multiple invoices and want to print BVR (Paper used by banks to make payments) the "illustration" tag in RML does not changes from an invoice to the other. The other information changes but not the content of the illustration is alway the same. It looks like the Z index is not in the right order.

Regards

Changed in openobject-server:
milestone: none → 5.0.8
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-server:
importance: Low → Critical
Changed in openobject-server:
assignee: nobody → Jay (Open ERP) (jvo-openerp)
Changed in openobject-server:
importance: Critical → High
Changed in openobject-server:
status: Confirmed → In Progress
Changed in openobject-server:
milestone: 5.0.8 → 5.0.9
Changed in openobject-server:
assignee: Jay (Open ERP) (jvo-openerp) → nch(OpenERP) (nch-openerp)
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

Can anyone just apply this patch and test.
If its fine I would get it merge in to the server.

Thanks

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

hi,

There are two bugs in this report
[1] : The "illustration" tag in RML does not changes from one object to the other.
[2] : It gets prints twice.

 and sorry I could not notice the second one. My patch just fixes the first one .

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

Hello joel,

Can you please test with the patch.

Thanks

Revision history for this message
Joël Grand-Guillaume @ camptocamp (jgrandguillaume-c2c) wrote :

Hi,

I'll have a look. Thanks for the fix, I come back ASAP.

Regards,

Revision history for this message
Vincent Renaville@camptocamp (vrenaville-c2c) wrote :

Hello,

Thanks for the patch,
So for point [1] the patch fix the problem,
but for point [2] I don't understand you , can you give more details about this point

Thanks for your help,

Vincent

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

Hi

Thanks for your reply.

for the point [2] :

I am sorry I was wrong I just investigated further and found that the rml invoice.rml of l10n_ch module has the code twice written to print the data. So as a conclusion the point [1] was only the real bug.

Thanks

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

Hello Joel,

Is your problem solved . Can you confirm please so that the patch gets merged into the official code.

Thanks,

Revision history for this message
Vincent Renaville@camptocamp (vrenaville-c2c) wrote :

Hello,

I have review the patch with Joel and he confirm that it's ok for him too.

Thanks for your help,

Vincent

Revision history for this message
Anup(SerpentCS) (anup-serpent) wrote :

Hello,

I confirm that the patch fixes the problem.

Thanks.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Thanks for the efforts and the patch Nch.
It has been fixed by revision 2032 <email address hidden>.

Changed in openobject-server:
status: Confirmed → Fix Released
Changed in openobject-server:
status: Fix Released → Fix Committed
status: Fix Committed → Fix Released
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

Remote bug watches

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