Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020692Openbravo ERP09. Financial managementpublic2012-06-06 17:022012-06-22 09:15
xabiermerino 
jecharri 
immediatemajoralways
closedfixed 
5
3.0MP11 
3.0MP13 
Core
No
0020692: Error 'Out of range' in invoices with two or more orders related
In the window 'Add details' (payment in), if an invoice is related with two or more order and you search as transaction type 'invoice', only one line appears:

Order1, Order 2 ----> Invoice 1

When you select it and, then, you search others invoices (using the busines partner selector) the amount of the first line selected dissapears and the error 'Out of range' appears
-As admin create 2 sales orders for the same BP
-Create a sales invoice and add these two order's lines
- Create a payment in and click 'Add details'
- Select the invoice created
- Search another BP
- Realize that the amount dissapers and the error appears
No tags attached.
Issue History
2012-06-06 17:02xabiermerinoNew Issue
2012-06-06 17:02xabiermerinoAssigned To => mirurita
2012-06-06 17:02xabiermerinoModules => Core
2012-06-06 17:02xabiermerinoResolution time => 1341957600
2012-06-06 17:03xabiermerinoIssue Monitored: networkb
2012-06-06 17:14jonalegriaesarteAssigned Tomirurita => jecharri
2012-06-06 17:14jonalegriaesartePriorityurgent => immediate
2012-06-07 13:59hgbotCheckin
2012-06-07 13:59hgbotNote Added: 0049676
2012-06-07 13:59hgbotStatusnew => resolved
2012-06-07 13:59hgbotResolutionopen => fixed
2012-06-07 13:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9c63ed5331ae151159839faf6b791dac6a40467f [^]
2012-06-07 15:26hgbotCheckin
2012-06-07 15:26hgbotNote Added: 0049677
2012-06-08 10:57hgbotCheckin
2012-06-08 10:57hgbotNote Added: 0049704
2012-06-22 09:15xabiermerinoNote Added: 0050013
2012-06-22 09:15xabiermerinoStatusresolved => closed

Notes
(0049676)
hgbot   
2012-06-07 13:59   
Repository: erp/devel/pi
Changeset: 9c63ed5331ae151159839faf6b791dac6a40467f
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu Jun 07 13:58:23 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9c63ed5331ae151159839faf6b791dac6a40467f [^]

Fixes issue 20692: Error 'Out of range' in invoices with two or more orders related

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddOrderOrInvoice.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_AddPayment.java
---
(0049677)
hgbot   
2012-06-07 15:26   
Repository: erp/devel/pi
Changeset: 31b97197da472af9a67876705ec26df9bfb570af
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu Jun 07 15:26:04 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/31b97197da472af9a67876705ec26df9bfb570af [^]

issue 20692: Error 'Out of range' in invoices with two or more orders related

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddOrderOrInvoice.html
---
(0049704)
hgbot   
2012-06-08 10:57   
Repository: erp/devel/pi
Changeset: b37708f3bc77e69d3df41ef8ab6daf2b299ca0a1
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Fri Jun 08 10:55:44 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b37708f3bc77e69d3df41ef8ab6daf2b299ca0a1 [^]

Fixes issue 20709: NPE when adding a payment from invoice
issue 20692: Error 'Out of range' in invoices with two or more orders related

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_AddPayment.java
---
(0050013)
xabiermerino   
2012-06-22 09:15   
verified