Rifakat (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.0-opw-5716-rha into 
lp:openobject-addons/6.0.

Requested reviews:
  nel (nel-tinyerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-5716-rha/+merge/83370

Hello,

Partial reconcile disappears when we cancel 2nd payment order.

While we do partial payments for customer/supplier invoice and cancel one of 
the partial payment then reconcile gets deleted and hence rest of the partial 
payments history is not maintained.

This fixes the problem, kindly review it.

Regards,
Rifakat
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-5716-rha/+merge/83370
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.0-opw-5716-rha.
=== modified file 'account_voucher/account_voucher.py'
--- account_voucher/account_voucher.py	2011-10-24 07:25:44 +0000
+++ account_voucher/account_voucher.py	2011-11-25 07:02:24 +0000
@@ -589,8 +589,8 @@
                     recs += [line.reconcile_id.id]
                 if line.reconcile_partial_id:
                     recs += [line.reconcile_partial_id.id]
-
-            reconcile_pool.unlink(cr, uid, recs)
+            #stop allowing to unlink complete reconcile move
+            #reconcile_pool.unlink(cr, uid, recs)
 
             if voucher.move_id:
                 move_pool.button_cancel(cr, uid, [voucher.move_id.id])

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to