Multiple payments(partial) on Invoice ..once I cancel one payment it will removed all the payment entry from invoice

Bug #1103494 reported by Viorica Ibasfalean
68
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Medium
OpenERP R&D Addons Team 3

Bug Description

Try to pay an invoice with more than a payment (partial), but do not pay all the invoice amount, a balance is going to be paid later, after that we will cancel a payment (from invoice), unfortunately, all the payments will be unreconciled not only the payment cancelled.

Let's say we have an invoice with an amount 100 EURO, we add two payments for this invoice, one by 20 Euro and one by 50 Euro, the balance is 30 Euro. We can see the two payments in Accounting -> Suppliers->Supplier Payment and they have the field "State" = "Posted". After we cancel the payment with 20 Euro, his state is "Cancelled" , the payment with 30 Euro is still "Posted", but the invoice has no payment. The link between invoice and payments is lost even even if we cancelled only a payment.

Thanks!

Tags: voucher

Related branches

Revision history for this message
Hiral Patel (OpenERP) (hip-openerp) wrote :

Hello Viorica Ibasfalean,

I have tested your issue and found the same problem.

Thanks for reporting.

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Amit Parik (amit-parik)
summary: - an invoice with multiple payments(partial)
+ Multiple payments(partial) on Invoice ..once I cancel one payment it
+ will removed all the payment entry from invoice
Revision history for this message
Viorica Ibasfalean (vibasfalean) wrote :

I noticed that when I cancel a payment, in the table "account_voucher" the filed "move_id" becomes empty. (may it is helpful)

Revision history for this message
Viorica Ibasfalean (vibasfalean) wrote :

It would be helpful if the payment (which is still "Posted") stay linked at the invoice and also appear on the invoice (in the interface).

Thanks!

Revision history for this message
Nimesh Contractor(Open ERP) (nco-openerp) wrote :

Hello,
     While doing partial payment of invoice, if we cancel one payment or Unreconcile any payment its unlink the "Reconcile Ref" from other payment lines too.
     That's why other payment lines are disappear form the Invoice Payment.

    It has been fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1171828-nco branch.

Thanks,
Nimesh.

Changed in openobject-addons:
status: Confirmed → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Confirmed
Amit Parik (amit-parik)
tags: added: voucher
Revision history for this message
Michael Karrer (michaelkarrer81) wrote :

Why was this bug set from Fix Committed back to Confirmed ?!? Is the fix usable or not?

Revision history for this message
Lorenzo Battistini (elbati) wrote : Re: [Bug 1103494] Re: Multiple payments(partial) on Invoice ..once I cancel one payment it will removed all the payment entry from invoice

On 02/07/2014 06:06 PM, Michael Karrer wrote:
> Why was this bug set from Fix Committed back to Confirmed ?!? Is the fix
> usable or not?
>

Because the patches don't work.

I also posted a comment
<https://code.launchpad.net/%7Eopenerp-dev/openobject-addons/trunk-bug-1171828-nco/+merge/162333/comments/396511>
that has been deleted

Revision history for this message
tim diamond (timdiam) wrote :

Does anyone have a work around for this? This is now effecting 2 of our customers....

Revision history for this message
Lorenzo Battistini (elbati) wrote : Re: Partial Invoice bug

On 03/18/2014 06:04 PM, tim diamond wrote:
> Hi Lorenzo,
>
> I was browsing a bug report for : https://bugs.launchpad.net/openobject-
> addons/+bug/1103494
>
> Some time ago, a change was submitted, but later taken back:
> https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-
> bug-1171828-nco
>
> Some time later (around 14 days) this branch was modified (a little bit
> larger of a diff): https://code.launchpad.net/~agilebg/openobject-
> addons/7.0-bug-1171828-elbati
>
> Browsing the diffs, its pretty clear why the first one didn't work.
> However, as the second one is in state "Pending", I was wondering if you
> had any info as to whether or not it works?

Hi Tim,

according to me, the state is summarized by my last comment
<https://code.launchpad.net/%7Eagilebg/openobject-addons/7.0-bug-1171828-elbati/+merge/164694/comments/488579>:
"I think the solution should use the _remove_move_reconcile method of
account.move.line"

As no one provided such an implementation, I think the bug doesn't have
a correct solution for now.

Revision history for this message
Lorenzo Battistini (elbati) wrote :

This bug does not occur with the last revision of 7.0, so I'm closing it

Revision history for this message
Lorenzo Battistini (elbati) wrote :

"so I'm closing it"

I can't :-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.