Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0033350Openbravo ERPZ. Otherspublic2016-06-23 12:092016-06-27 10:20
maite 
markmm82 
immediateminoralways
closedfixed 
5
 
3.0PR16Q1.43.0PR16Q1.4 
aferraz
Advanced Payables and Receivables Mngmt
No
0033350: 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.0PR16Q1.4
2016-06-27 10:20hgbotCheckin
2016-06-27 10:20hgbotNote Added: 0087945
2016-06-27 10:20hgbotStatusscheduled => resolved
2016-06-27 10:20hgbotResolutionopen => fixed
2016-06-27 10:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q1.4/rev/01bc12adae18a0ab705dd2935df6d72684d23116 [^]
2016-06-27 10:20aferrazReview Assigned To => aferraz
2016-06-27 10:20aferrazNote Added: 0087947
2016-06-27 10:20aferrazStatusresolved => closed
2016-06-27 10:20aferrazFixed in Version => 3.0PR16Q1.4

Notes
(0087945)
hgbot   
2016-06-27 10:20   
Repository: erp/backports/3.0PR16Q1.4
Changeset: 01bc12adae18a0ab705dd2935df6d72684d23116
Author: Mark <markmm82 <at> gmail.com>
Date: Fri Jun 24 09:39:53 2016 -0400
URL: http://code.openbravo.com/erp/backports/3.0PR16Q1.4/rev/01bc12adae18a0ab705dd2935df6d72684d23116 [^]

Fixes issue 33350: 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
---
(0087947)
aferraz   
2016-06-27 10:20   
Code review + Testing OK