← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 767058] Re: invoice payment should pay only the invoice I started from

 

Hey

I spent more time in this.. and found out, that single payment works
really fine.. but if you want work on multi payments from a customer..
it breaks...

Try to expland.. and the :) a video to demonstrate:

1. create some invoices for the same partner and validate them
2. select one of them and make the payment for that invoice
3. enter all data that are needed: Paid Amount (maybe partner pay's 500.--), Payment Method and Date
3.1 the selected invoice before will now be listed
4. press "New" (invoices and outstanding transactions)
4.1 select invoices that are also paid
4.2 save each single line, edit it again and enter the amount (where the invoice amount should be auto inserted, please!)
4.3 repeat that for other open invoices of this partner
5 check now the total open balance and total amount
6. change now the paid amount to another amount (maybe if the total amount don't fit paid amount or only for test)
6.1 lines are gone!!!

You can repeat that and maybe change Payment Method or Date... same
happens

Btw. if you press "New" (invoices and outstanding transactions) the list
always have all invoices instead of only those that arn't in the list of
invoices and outstanding transactions...

video demonstration:
http://dl.dropbox.com/u/5636258/openerp-multi-invoice-payment.ogv (5MB)

Thanks for fixing that soon
Thomas

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

Title:
  invoice payment should pay only the invoice I started from

Status in OpenERP Modules (addons):
  Fix Released

Bug description:
  Observed in OE 6.0. To reproduce:

  - create and confirm two invoices for a customer.
  - open one of them
  - Click the "Payment" button

  In the new window with the voucher, I expect to see in the list of
  "Invoices and outstanding transactions" only the invoice I started
  from, not all of them. If you see none, try to fill in the "Payment
  Method".

  looking up in the code, in account_voucher/invoice.py, L47 the
  invoice_id is indeed passed on to the voucher system, but it is not
  used (apart from _get_journal, which doesn't matter much here).

  thanks!


References