Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016235Openbravo ERP09. Financial managementpublic2011-03-11 13:442011-03-23 17:48
malsasua 
dalsasua 
urgentmajoralways
closedfixed 
20Community Appliance
2.50MP27 
2.50MP282.50MP27EU1 
OBPS
Core
No
0016235: cannot run create payment process in bank statement line tab
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. line 10.
. create new line:
   run process "create debt payment"
error is returned
   run process "create debt payment"

the debt payment is created in the line 10
Regression
related to backport 00159812.50MP28 closed dalsasua you can save and process a bank statement without payment and G/L Item 
related to backport 0016414 closed iperdomo error to save to run "create payment" process in bank statement line 
blocks defect 0016451 closed dalsasua cannot run create payment process in bank statement line tab 
Issue History
2011-03-11 13:44malsasuaNew Issue
2011-03-11 13:44malsasuaAssigned To => dalsasua
2011-03-11 13:44malsasuaModules => Core
2011-03-11 13:44malsasuaOBNetwork customer => Yes
2011-03-11 13:44malsasuaIssue Monitored: networkb
2011-03-11 13:44malsasuaRelationship addedrelated to 0015981
2011-03-14 15:30dalsasuaStatusnew => scheduled
2011-03-14 15:30dalsasuafix_in_branch => pi
2011-03-14 15:30dalsasuaTypedefect => backport
2011-03-14 15:30dalsasuafix_in_branchpi => 2.50
2011-03-14 15:31dalsasuaIssue cloned0016268
2011-03-14 15:31dalsasuaRelationship addedblocks 0016268
2011-03-14 15:32hgbotCheckin
2011-03-14 15:32hgbotNote Added: 0034808
2011-03-14 15:53dalsasuaPriorityimmediate => urgent
2011-03-14 15:53dalsasuaDescription Updatedbug_revision_view_page.php?rev_id=1614#r1614
2011-03-14 15:53dalsasuaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=1616#r1616
2011-03-14 16:15dalsasuaAssigned Todalsasua => iperdomo
2011-03-17 11:20dalsasuaTag Attached: Regression
2011-03-17 11:21dalsasuaNote Added: 0034985
2011-03-18 11:20malsasuaNote Added: 0035032
2011-03-22 11:30dalsasuaIssue cloned0016414
2011-03-22 11:30dalsasuaRelationship addedrelated to 0016414
2011-03-22 11:30dalsasuaAssigned Toiperdomo => dalsasua
2011-03-22 11:35dalsasuaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=1662#r1662
2011-03-22 11:35dalsasuaStatusscheduled => resolved
2011-03-22 11:35dalsasuaFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/c1e76e803382d269839da3d4f97318870d45db07 [^]
2011-03-22 11:35dalsasuaResolutionopen => fixed
2011-03-22 11:38dalsasuaStatusresolved => closed
2011-03-22 11:38dalsasuaFixed in Version => 2.50MP27EU1
2011-03-23 11:25hgbotCheckin
2011-03-23 11:25hgbotNote Added: 0035171
2011-03-23 17:43dalsasuaRelationship addedblocks 0016451
2011-03-23 17:46dalsasuaStatusclosed => new
2011-03-23 17:46dalsasuaResolutionfixed => open
2011-03-23 17:46dalsasuaFixed in Version2.50MP27EU1 =>
2011-03-23 17:46dalsasuaSummaryerror to save to run "create payment" process in bank statement line => cannot run create payment process in bank statement line tab
2011-03-23 17:46dalsasuaStatusnew => scheduled
2011-03-23 17:46dalsasuafix_in_branch2.50 => pi
2011-03-23 17:48dalsasuaRelationship deletedblocks 0016268
2011-03-23 17:48dalsasuaStatusscheduled => resolved
2011-03-23 17:48dalsasuaFixed in Version => 2.50MP27EU1
2011-03-23 17:48dalsasuaResolutionopen => fixed
2011-03-23 17:48dalsasuaStatusresolved => closed

Notes
(0034808)
hgbot   
2011-03-14 15:32   
Repository: erp/stable/2.50
Changeset: c1e76e803382d269839da3d4f97318870d45db07
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Mon Mar 14 15:29:37 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/c1e76e803382d269839da3d4f97318870d45db07 [^]

Issue 16235. Issue 15981.
Now it checks that at least a payment or a g/l item is present for every bank statement line, only when processing the bank statement. The check in the trigger has been removed.

---
M src-db/database/model/triggers/C_BANKSTATEMENTLINE_TRG.xml
---
(0034985)
dalsasua   
2011-03-17 11:21   
This is a regression introduced in the issue 0015981
(0035032)
malsasua   
2011-03-18 11:20   
tested in 250mp27eu1: to create a new line, "debt payment" and "G/L item" are voids, the process "create payment" works fine. Error is not returned and the debt payment created is saved in the line
(0035171)
hgbot   
2011-03-23 11:25   
Repository: erp/stable/2.50
Changeset: bee446a3fa4a3a898d41298bc274cb9d70b8b62b
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Mon Mar 14 15:29:37 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/bee446a3fa4a3a898d41298bc274cb9d70b8b62b [^]

Issue 16235. Issue 15981.
Now it checks that at least a payment or a g/l item is present for every bank statement line, only when processing the bank statement. The check in the trigger has been removed.

---
M src-db/database/model/triggers/C_BANKSTATEMENTLINE_TRG.xml
---