← Back to team overview

credativ team mailing list archive

[Bug 912623] [NEW] [account] Missing date on fiscalyear clousure

 

Public bug reported:

[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

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

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


Follow ups

References