Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014061Openbravo ERP09. Financial managementpublic2010-07-27 11:122010-09-13 12:38
dalsasua 
dalsasua 
urgentmajoralways
closedfixed 
20Ubuntu 9.04
pi 
 
Core
No
0014061: Payment status management posts lines belonging to manual settlements with no direct posting
Payment status management, when have all lines with manual payments with direct posting='N', turns into "Disabled for accounting" status. But if there is a mix of manual and not-manual, or manual with direct posting='N' and 'Y', then ALL lines are posted, when those coming from a manual settlement with no direct posting must NOT create any accounting entry.
Create a payment status managment
Add two payments: one coming from an invoice, and another one coming from manual settlement where direct posting='N'
Process and post
Realize that both lines creates two entry lines each, when just the payment coming from the invoice should create accounting.
No tags attached.
related to defect 00136542.50MP20 closed dalsasua Accounting generated by cancelation remittance is not correct 
Issue History
2010-07-27 11:12dalsasuaNew Issue
2010-07-27 11:12dalsasuaAssigned To => dalsasua
2010-07-27 11:14dalsasuaRelationship addedrelated to 0013654
2010-08-11 08:57adrianromeroPriorityimmediate => urgent
2010-08-18 13:31dalsasuaStatusnew => scheduled
2010-08-18 13:31dalsasuafix_in_branch => pi
2010-08-18 13:34dalsasuaNote Added: 0030117
2010-08-18 13:49hgbotCheckin
2010-08-18 13:49hgbotNote Added: 0030118
2010-08-18 13:49hgbotStatusscheduled => resolved
2010-08-18 13:49hgbotResolutionopen => fixed
2010-08-18 13:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f90978db2fb31a8f1d3ee7fca51f2840aa8007d6 [^]
2010-08-18 21:25hudsonbotCheckin
2010-08-18 21:25hudsonbotNote Added: 0030133
2010-08-23 09:36psarobeNote Added: 0030213
2010-08-23 09:36psarobeStatusresolved => closed
2010-09-13 12:38anonymoussf_bug_id0 => 3065161

Notes
(0030117)
dalsasua   
2010-08-18 13:34   
In order to test this issue: check that, before the fix, following the steps to reproduce, both payments (manual and not manual) creates entry lines (you can differentiate both through the amounts). After the fix, just the non-manual (or direct posting) payments are able to generate accounting.
(0030118)
hgbot   
2010-08-18 13:49   
Repository: erp/devel/pi
Changeset: f90978db2fb31a8f1d3ee7fca51f2840aa8007d6
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Wed Aug 18 13:36:07 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f90978db2fb31a8f1d3ee7fca51f2840aa8007d6 [^]

Fixes Issue 14061

---
M src/org/openbravo/erpCommon/ad_forms/DocDPManagement.java
M src/org/openbravo/erpCommon/ad_forms/DocLineDPManagement_data.xsql
M src/org/openbravo/erpCommon/ad_forms/DocLine_DPManagement.java
---
(0030133)
hudsonbot   
2010-08-18 21:25   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/f90978db2fb3 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/ff712e14c10b [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18183.obx [^]
(0030213)
psarobe   
2010-08-23 09:36   
Tested working fine