Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016414Openbravo ERP09. Financial managementpublic2011-03-22 11:302011-06-02 10:33
dalsasua 
iperdomo 
urgentmajoralways
closedfixed 
20Community Appliance
2.50MP27 
2.50MP29 
Core
No
0016414: error to save to run "create payment" process in bank statement line
if you run "create payment" process in a new bank statement line, first time, a error is returned.
Second time, the debt payment is created in the last line edited.

Please notice that the button "Create Payment" is flagged in AD as "Triggers Auto-save".
. create new bank statement
. create new line:
   select a debt payment and save. It is the line number 10.
. create new line:
   select a debt payment
   select a G/L Item
   run process "create debt payment"
   -> error is returned, because auto-save tries to save the record, and a trigger avoids to save a bank statement line with both g/l item and payment filled in
   again, run process "create debt payment"
   -> now auto-save is not trying to save the record, the trigger is not launched, and the pop-up is correctly shown, although the back statement line tab continues in "New" mode (with the asterisk in the pencil icon)
   fill in a business partner, amount and date. Click on Ok.
   -> Now can happen one out of two:
        1) the debt payment is created in the line 10, as the line 20 was not saved
        2) an error is shown, and line 10 disappears
No tags attached.
related to backport 00162352.50MP28 closed dalsasua cannot run create payment process in bank statement line tab 
blocks defect 0016268 closed iperdomo error to save to run "create payment" process in bank statement line 
Issue History
2011-03-22 11:30dalsasuaNew Issue
2011-03-22 11:30dalsasuaAssigned To => iperdomo
2011-03-22 11:30dalsasuaModules => Core
2011-03-22 11:30dalsasuaIssue generated from0016235
2011-03-22 11:30dalsasuaRelationship addedrelated to 0016235
2011-03-22 11:30dalsasuaStatusnew => scheduled
2011-03-22 11:30dalsasuafix_in_branch => pi
2011-03-22 11:37dalsasuaIssue Monitored: ioritzCia
2011-03-23 17:50dalsasuaRelationship addedblocks 0016268
2011-03-24 16:49dalsasuafix_in_branchpi => 2.50
2011-03-28 16:00adrianromeroNote Added: 0035271
2011-03-29 16:12dalsasuaPriorityimmediate => urgent
2011-04-01 18:05hgbotCheckin
2011-04-01 18:05hgbotNote Added: 0035480
2011-04-01 18:05hgbotStatusscheduled => resolved
2011-04-01 18:05hgbotResolutionopen => fixed
2011-04-01 18:05hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/719288469b1c2a5d6853bd5b75083b82c153113d [^]
2011-06-02 10:33malsasuaNote Added: 0037908
2011-06-02 10:33malsasuaStatusresolved => closed
2011-06-02 10:33malsasuaFixed in Version => 2.50MP29

Notes
(0035271)
adrianromero   
2011-03-28 16:00   
The fix is already done. Waiting for the 2.50 repository to be unfrozen to push the changes.
(0035480)
hgbot   
2011-04-01 18:05   
Repository: erp/stable/2.50
Changeset: 719288469b1c2a5d6853bd5b75083b82c153113d
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Tue Mar 22 11:50:02 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/719288469b1c2a5d6853bd5b75083b82c153113d [^]

Fixes issue 16414: Cleans failedAutosave flag on page refresh

---
M src-wad/src/org/openbravo/wad/javasource.javaxml
---
(0037908)
malsasua   
2011-06-02 10:33   
tested: it works fine