Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0033349Openbravo ERPZ. Otherspublic2016-06-23 12:092016-06-27 10:20
maite 
markmm82 
immediateminoralways
closedfixed 
5
 
3.0PR16Q2.13.0PR16Q2.1 
aferraz
Advanced Payables and Receivables Mngmt
No
0033349: Error when trying to Void a NOT PAID invoice, logged with * organization
Following error is raised: org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
1. Log into the system and set * as default organization in login
2. Create new Sales Invoice for Alimentos y Supermercados business partner. Add any line and Complete
3. Void invoice and following error will be raised:
org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1

NOTE: if you change default organization to another one then invoice is properly voided
No tags attached.
blocks defect 0033339 closed markmm82 Error when trying to Void a NOT PAID invoice, logged with * organization 
Issue History
2016-06-24 10:32aferrazTypedefect => backport
2016-06-24 10:32aferrazTarget Version => 3.0PR16Q2.1
2016-06-27 10:19hgbotCheckin
2016-06-27 10:19hgbotNote Added: 0087944
2016-06-27 10:19hgbotStatusscheduled => resolved
2016-06-27 10:19hgbotResolutionopen => fixed
2016-06-27 10:19hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q2.1/rev/b4cf4292ad3f62eb8a1e02a0e0110bf3bec097fa [^]
2016-06-27 10:20aferrazReview Assigned To => aferraz
2016-06-27 10:20aferrazNote Added: 0087946
2016-06-27 10:20aferrazStatusresolved => closed
2016-06-27 10:20aferrazFixed in Version => 3.0PR16Q2.1

Notes
(0087944)
hgbot   
2016-06-27 10:19   
Repository: erp/backports/3.0PR16Q2.1
Changeset: b4cf4292ad3f62eb8a1e02a0e0110bf3bec097fa
Author: Mark <markmm82 <at> gmail.com>
Date: Fri Jun 24 09:39:53 2016 -0400
URL: http://code.openbravo.com/erp/backports/3.0PR16Q2.1/rev/b4cf4292ad3f62eb8a1e02a0e0110bf3bec097fa [^]

Fixes issue 33349: Allow to Void a NOT PAID invoice, logged as * organization

Was avoid the Error when trying to Void a NOT PAID invoice, logged with * organization. The payment detail takes the organization from the payment schedule details organization.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/ProcessInvoice.java
---
(0087946)
aferraz   
2016-06-27 10:20   
Code review + Testing OK