account.vat.declaration report prints all parent tax codes

Bug #1184986 reported by Niels Huylebroeck
0
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Undecided
OpenERP Publisher's Warranty Team

Bug Description

When printing the report 'report.account.vat.declaration' any selection from the wizard is ignored, it will always print any top level (where parent_id = False) tax code that it can read. In certain scenarios it's possible for one company to have multiple top level tax codes.

Even when choosing one of the parent codes it will still print all the parent codes.

It's a simple fix on http://bazaar.launchpad.net/~openerp/openobject-addons/7.0/view/head:/account/report/account_tax_report.rml#L153

The call here is missing the argument 'parent'. Please see attached patch for proposed fix.

I have diagnosed and fixed this issue in 7.0 but have not checked any other versions.

Tags: maintenance

Related branches

Revision history for this message
Niels Huylebroeck (red15) wrote :
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
no longer affects: openobject-addons/7.0
Changed in openobject-addons:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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