← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Jay, Thomas,

I can confirm what Thomas says: the new code should be checked again if
someone

1. goes into an invoice, clicks "pay"
2. then changes around things, adds lines.

There is probably something wrong with the onchange methods.

NB this should still go under OPW 5577.

Thanks!

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