← Back to team overview

openerp-india team mailing list archive

[Bug 1018591] Re: Aged Partner Balance Report chooses FY for wrong company

 

** Patch added: "0001-fix-aged-partner-balance-report-handling-of-fiscal-y.patch"
   https://bugs.launchpad.net/bugs/1018591/+attachment/3206052/+files/0001-fix-aged-partner-balance-report-handling-of-fiscal-y.patch

-- 
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/1018591

Title:
  Aged Partner Balance Report chooses FY for wrong company

Status in OpenERP Addons (modules):
  New

Bug description:
  Affected version: 6.1

  The aged partner balance report does not select the correct company's
  fiscal year based on the selected CoA and date, and provides no widget
  to work around the problem.

  When the report is run, this produces the following error:

      ValidationError: The fiscalyear, periods or chart of account
  chosen have to belong to the same company.

  The attached patch fixes alters _get_fiscalyear to consider only FYs
  for the correct company.

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


References