← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello Leonardo,

I have fixed the problem in  lp:~openerp-dev/openobject-addons/trunk-
bug-767058-ara branch. It will be merge soon with trunk addons.

Revision ID: ara@xxxxxxxxxxx-20110504070124-b10tsx7ptig7t6n4 
Revision No: 4666

Thanks,
ara

** Changed in: openobject-addons
       Status: In Progress => Fix Committed

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

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