← 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 Nhomar,

I've discussed this issue internally and we came to the conclusion that
your example is valid and we admit we have made a mistake. It's better
to be consistent all the time.

At first our patch seemed better but it did not covered every cases as
you pointed. So instead we have merged your code suggestion.

Sorry for the inconvenience.

revno: 9538 [merge]
revision-id: mat@xxxxxxxxxxx-20131022095301-tigk2ixheljvqxwc

-- 
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):
  In Progress

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