← Back to team overview

openerp-india team mailing list archive

[Bug 1219381] Re: [7.0 Trunk] Closing fiscal Year generate inconsistency in Total Payable and Total Receivable computation on Partner Form

 

Hello,

Including every account.move of past years is not a good idea IMHO, you
may get too many lines. When closing a fiscal year, you can (and should)
create a new move with the unreconciled amount and add it in the opening
period. This is what you do in the "Generate Fiscal Year Opening
Entries" wizard.

I have created a new branch doing this and also adding a new test. As
Nhomar mentioned, it's a good idea to create a new invoice and check we
have the correct amount after closing the fiscal year.

This is now merged in 7.0
revno: 9523 [merge]
revision-id: mat@xxxxxxxxxxx-20131015142948-db6x1py5auwzbn3e

Thank you for the report and the 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/1219381

Title:
  [7.0 Trunk] Closing fiscal Year generate inconsistency in Total
  Payable and Total Receivable computation on Partner Form

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  The problem.

  When we make the close Fiscal Year process and close the fiscal year
  all "Total Payable" and "Total Reaceivable" fields on partners go to
  0.

  How to reproduce the problem.

  1.- Install Accounting - Custom chart of account.
  2.- Create a New fiscal year (One Year BEfore) let's say 2012 and all them periods.
  3.- Generate a Customer invoice lets say "August 2012" for 1000.
  4.- Partner Form looks Ok, Total Receivable 1000.
  5.- Go to "Generate Opening En..." on End of period menu in Account run the wizard answering the questions.
  6.- Close the Fiscal year in the menu "Close a Fiscal Year" under the same path.

  What do i got:

  7.- Go to Partner Form, "Total Receivable is 0".

  What  do i expect:

  7.- Go to Partner Form, "Total Receivable is 1000".

  I made a video with the explanation all menus in english, i think it
  it pretty clear if not, i can put subtitles becaus the speach is in
  spanish.

  http://youtu.be/xYkQdFV1THM

  It is affecting all our migrations and generating some problems in our
  workflows that use this Fields as "Control Fields" for Workflows.

  I will propose a patch, and a MP. @Thanks to Pedro Baeza from Openerp
  Spanish Community.

  The Patch: https://launchpadlibrarian.net/149063580/patch.diff

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


References