← Back to team overview

openerp-india team mailing list archive

[Bug 1257288] [NEW] Opening entries on foreign currency accounts are computing a wrong value

 

Public bug reported:

If you create opening entries for a past fiscal year (FY2012) but have
entries with a multicurrency account in FY2011, the opening entry for
FY2013 will sum all move lines from 2012 for system currency (as
wanted), and all move lines until 2013-01-01 for account currency (not
wanted).

This means you get a much larger value in account currency than in
system currency.

The issue is in the method data_save() in
addons/account/wizard/account_fiscalyear_close.py; the domain for the
lines uses all fiscal years before the "new" one, not just one. I'll add
a branch with a fix (using the method "foreign_balance", which is
correct).

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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

Title:
  Opening entries on foreign currency accounts are computing a wrong
  value

Status in OpenERP Addons (modules):
  New

Bug description:
  If you create opening entries for a past fiscal year (FY2012) but have
  entries with a multicurrency account in FY2011, the opening entry for
  FY2013 will sum all move lines from 2012 for system currency (as
  wanted), and all move lines until 2013-01-01 for account currency (not
  wanted).

  This means you get a much larger value in account currency than in
  system currency.

  The issue is in the method data_save() in
  addons/account/wizard/account_fiscalyear_close.py; the domain for the
  lines uses all fiscal years before the "new" one, not just one. I'll
  add a branch with a fix (using the method "foreign_balance", which is
  correct).

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


Follow ups

References