← Back to team overview

openerp-india team mailing list archive

[Bug 1184986] Re: account.vat.declaration report prints all parent tax codes

 

** Changed in: openobject-addons
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1184986

Title:
  account.vat.declaration report prints all parent tax codes

Status in OpenERP Addons (modules):
  Fix Committed

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1184986/+subscriptions