← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 781850] Re: wrong behaviour in cancel/redo payment voucher

 

Hello filsys,

Yes we can do like,

If we have 3 partial payments for one invoice and we are unreconciled
one of the partial payment  that time we need to create "Partial
reconciliation" id on move line by calling reconcile_partial(...)
method.

So it means when full payment is going to unreconcile we will create
partial_recocile_id But we need to consider all the cases for partial
and fully payment.

And more we can improve the cancel method on voucher object by calling below method.
self.pool.get('account.move.line')._remove_move_reconcile(cr, uid, move_ids, context)

Thanks,
mra

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/781850

Title:
  wrong behaviour in cancel/redo payment voucher

Status in OpenERP Modules (addons):
  In Progress

Bug description:
  Step to reproduce:
  OpenERP 6.0.2:
  Make 3 vouchers (v1, v2, v3) for 3 partial payments for on customer invoice f1.
  Cancel v2 voucer. You will see that all reconcile records for f1 is deleted.
  Reopen (set to draft) and validate v2.
  Check account move line coresponding to v2.
  I think that reconcile model is inconsistent for cancel/reopen multiple partial reconcile.
  Thanks


References