← Back to team overview

credativ team mailing list archive

[Bug 912623] Re: [account] Missing date on fiscalyear clousure

 

** Patch added: "Bug Fix For Date in FiscalYear Close Wizard"
   https://bugs.launchpad.net/bugs/912623/+attachment/2659533/+files/account_fiscalyear_close.diff

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

Title:
  [account] Missing date on fiscalyear clousure

Status in OpenERP Addons (modules):
  New

Bug description:
  [account] Missing date on fiscalyear clousure
  wizard account.fiscalyear.close lacks of date
  both for account.move records and account.move.line
  in both cases it just takes the default values given
  by those models, i.e, the day when the wizard is run,

  this could lead to miscorrected account balances, if
  You were to close the fiscal year 2011 at Feb/28th/2012
  It will create an account.move record & 
  account.move.lines with both date from fiscal_year's
  start_date and that of Feb/28th/2012,

  If the account.journal is checked allow_date=True
  with this bug this wizard will even complain because 
  in that date will not be in the range date of that period, 

  All the account.move & account.move.line records created
  during this wizard IMHO should be with date == fiscalyear.start_date
  as those for the account of type == 'detail'

  in the next lines you could find the needed changes to accomplish 
  that what I have exposed,

  Thanks in Advance,

  Hbto

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


References