← Back to team overview

openerp-india team mailing list archive

[Bug 928616] Re: [v6.0 & v6.1] [account_voucher] cancel_voucher method is unlinking the whole account_move_reconciliation record

 

Hello all you folks,
Here at Vauxoo, have being working to have a more improved code for that bug fix
based in the code already provided by you in your branch we have the following patch
which will leave the code more clean & clear, This time we have gone further and we
have tackle the issue posted recently by due to this same bug, in the following bug 
number https://bugs.launchpad.net/openobject-addons/+bug/928899/comments/1

So that solution with this solution will give to the whole environment a better approach
The solution proposed here will avoid that a  partial or full reconciliation be unlinked at all,
and the solution proposed for bug#928899 will avoid that after cancelling an account_voucher
or even unreconcilling through different that account_voucher invoice changes its state
whenever it is paid at is reconciliation is undone.

There are even better ways to tackle this issue just if we change the behavior of 
account_move_line._remove_move_reconcile method

But now we, here at vauxoo, think thats matter for another discussion,

Thanks for your attention & patient

Regards,

Hbto [Vauxoo]

** Patch added: "account_voucher_improved.diff"
   https://bugs.launchpad.net/openobject-addons/+bug/928616/+attachment/2728925/+files/account_voucher_improved.diff

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

Title:
  [v6.0 & v6.1] [account_voucher] cancel_voucher method is unlinking the
  whole account_move_reconciliation record

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  [v6.0 & v6.1] [account_voucher] cancel_voucher method is unlinking the
  whole account_move_reconciliation (amr) record

  There is a more elegant way of doing this, instead of getting rid of the whole amr, it could be unreconciled and reconciled 
  again so the other account_move_lines involved in the reconciliation wont't be lost.

  Whenever you have many partial payments for invoices and one of those partial payments (account_voucher) is unreconciled
  the forementioned method will get rid of the whole amr, and all the previously aml, involved get lost.

  
  Here you find patch fixes for both v6.0 and v6.1.

  Thanks in advance for your attention.

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


References