Notes |
|
|
Test plan:
As group admin role:
Create a Sales Invoice and complete it
Create another Sales Invoice header with the same values of the previous one (same document number too) but different document type and complete it
Add a payment to it and check the outstanding amount is correct (the amount of the second invoice only)
Repeat the same flow for Purchase Invoice, Sales Order and Purchase Order |
|
|
(0077301)
|
hgbot
|
2015-05-11 17:56
|
|
Repository: erp/devel/pi
Changeset: bb2bb339df34f1b46d2adfbcca855947ff9e8670
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Fri May 08 12:32:19 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/bb2bb339df34f1b46d2adfbcca855947ff9e8670 [^]
Fixes issue 29817: Invoices with same documentno are grouped in Add Payment
Query in AddPaymentOrderInvoicesTransformer has been changed in order to take into account id and documenttype in the group by clause.
DocumentNo was taking into account but not id nor documenttype. Then, when there were two orders/invoices with the same documentno but different documenttypes, they were grouped in the Order/Invoice grid in Add Payment process.
Id group by has been added also to avoid grouping orders/invoices with the same documentno and documenttype.
---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/hqlinjections/AddPaymentOrderInvoicesTransformer.java
---
|
|
|
(0077302)
|
umartirena
|
2015-05-11 17:58
|
|
Code Review + Testing OK
Issue tested in:
* Sales/Purchase Order windows
* Sales/Purchase Invoice windows
* Payment In/Out windows |
|
|
|
|