Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010571
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2009-09-11 17:222009-10-06 11:27
ReporternetworkbView Statuspublic 
Assigned Tovmromanos 
PriorityimmediateResolutionfixedFixed in Version2.50MP6
StatusclosedFix in branchFixed in SCM revisionf691da514c18
ProjectionnoneETAnoneTarget Version2.50MP6
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_11
OS VersionrPath LinuxDatabase version8.3.5Ant version1.7.1
Product Version2.50MP5SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0010571: debt payment generated in "create from" in bank statement are not correct. See the added note

Descriptionin create from of bank statement, when you select a debt payment receipt, and partial amount, the debts payments generated are not correct
Steps To Reproduce. Create purchase invoice, document type "AP Invoice", with grand total amount 100 euros. Process it. A debt payment is generated with amount 100 euros and field "receipts" is not checked.

. Create a new bank statement.
. execute "create lines from":
   . search the debt payment generated in purchase invoice
   . the proposed amount is -100.
    change the proposed amount from -100 to -75. press ok.

. a settlement is generated with the origin debt payment in the tab "cancelled", and two debt payments in tab "created":
   a debt payment with amount -75 and check payment not selected.
   other debt payment with amount 175 and check payment not selected.
   
The debt payments generated should be of 75 and 25 euros
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00107452.50MP7 closedvmromanos "create lines from" in bank statemnet generates incorrect settlement 

-  Notes
(0019815)
psarobe (manager)
2009-09-11 17:56
edited on: 2009-09-17 13:48

Hi,

The payments are created perfect. That's not the problem. The issue comes because the proposed amount (in the "create lines from pop-up") is in negative when it is not a receipt (purchase invoice) and this is not correct. The proposed amount must be in positive because what it determines whether an payment is a collection or a receipt is the check "Is receipt".

If the payment is in positive it will work.

(0020074)
rafaroda (developer)
2009-09-15 16:22

Priority upgraded to Immediate since 2.50 MP6 freezing is happening on Friday 18/09.
(0020106)
hgbot (developer)
2009-09-16 11:13

Repository: erp/devel/pi
Changeset: f691da514c18f003d9e44699bba7adbcdefa83a7
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Wed Sep 16 11:10:19 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f691da514c18f003d9e44699bba7adbcdefa83a7 [^]

Fixed bug 10571: debt payment generated in create from in bank statement are not correct

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Bank_data.xsql
---
(0020147)
sureshbabu (reporter)
2009-09-17 15:46

Tested working fine
(0020287)
networkb (developer)
2009-09-22 19:41

in "create from" of bank statement, when amount selected is the same than amount debt payment, a new settlement is generated with two debt payments:
first debt payment with total amount, and second with 0.
(0020290)
rafaroda (developer)
2009-09-23 06:30

Víctor,

Can you please review the fix?

Thanks.
(0020301)
vmromanos (manager)
2009-09-23 10:28

Hi,

You're right, this is another bug.

The fix we did was just to show the proper amount (positive amount) in the create from window. However there is another bug in the create from process that creates two debt payments, one of them with 0 amount which is totally wrong.

So, this issue is properly fixed but we have to open a new one with the new discovered bug.

Regards
(0020303)
rafaroda (developer)
2009-09-23 10:32

Can you please comment on the note added by Víctor?

Thanks.
(0020312)
networkb (developer)
2009-09-23 15:00

Ok, i agree
(0020313)
rafaroda (developer)
2009-09-23 15:12

Issue properly resolved.

Open a new issue for "the create from process that creates two debt payments, one of them with 0 amount which is totally wrong."
(0020314)
rafaroda (developer)
2009-09-23 15:13

Previously tested and approved by QA.
(0020472)
hgbot (developer)
2009-09-29 14:12

Repository: erp/devel/pi-pageddatagrid
Changeset: f691da514c18f003d9e44699bba7adbcdefa83a7
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Wed Sep 16 11:10:19 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/f691da514c18f003d9e44699bba7adbcdefa83a7 [^]

Fixed bug 10571: debt payment generated in create from in bank statement are not correct

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Bank_data.xsql
---
(0020758)
psarobe (manager)
2009-10-06 11:27

Closed again because hudson has reopened without no reason

- Issue History
Date Modified Username Field Change
2009-09-11 17:22 networkb New Issue
2009-09-11 17:22 networkb Assigned To => rafaroda
2009-09-11 17:56 psarobe Status new => scheduled
2009-09-11 17:56 psarobe Note Added: 0019815
2009-09-11 17:56 psarobe Assigned To rafaroda => dalsasua
2009-09-11 17:56 psarobe fix_in_branch => pi
2009-09-11 17:57 psarobe Assigned To dalsasua => vmromanos
2009-09-11 17:57 psarobe fix_in_branch pi =>
2009-09-11 17:57 psarobe Summary debt payment generated in "create from" in bank statement are not correct => debt payment generated in "create from" in bank statement are not correct. See the added note
2009-09-11 18:00 rafaroda Priority immediate => urgent
2009-09-15 16:19 rafaroda Priority urgent => immediate
2009-09-15 16:22 rafaroda Note Added: 0020074
2009-09-16 11:13 hgbot Checkin
2009-09-16 11:13 hgbot Note Added: 0020106
2009-09-16 11:13 hgbot Status scheduled => resolved
2009-09-16 11:13 hgbot Resolution open => fixed
2009-09-16 11:13 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f691da514c18f003d9e44699bba7adbcdefa83a7 [^]
2009-09-17 13:48 psarobe Note Edited: 0019815
2009-09-17 15:46 sureshbabu Status resolved => closed
2009-09-17 15:46 sureshbabu Note Added: 0020147
2009-09-17 15:46 sureshbabu Fixed in Version => 2.50MP6
2009-09-18 00:00 anonymous sf_bug_id 0 => 2861011
2009-09-22 19:41 networkb Status closed => new
2009-09-22 19:41 networkb Resolution fixed => open
2009-09-22 19:41 networkb Note Added: 0020287
2009-09-22 19:41 networkb Fixed in Version 2.50MP6 =>
2009-09-22 19:42 networkb Assigned To vmromanos => rafaroda
2009-09-23 06:30 rafaroda Note Added: 0020290
2009-09-23 06:30 rafaroda Assigned To rafaroda => vmromanos
2009-09-23 06:30 rafaroda Status new => scheduled
2009-09-23 10:28 vmromanos Note Added: 0020301
2009-09-23 10:32 rafaroda Note Added: 0020303
2009-09-23 10:32 rafaroda Status scheduled => feedback
2009-09-23 15:00 networkb Note Added: 0020312
2009-09-23 15:12 rafaroda Status feedback => scheduled
2009-09-23 15:12 rafaroda Note Added: 0020313
2009-09-23 15:12 rafaroda Status scheduled => resolved
2009-09-23 15:13 rafaroda Status resolved => closed
2009-09-23 15:13 rafaroda Note Added: 0020314
2009-09-23 15:13 rafaroda Fixed in Version => 2.50MP6
2009-09-25 07:07 rafaroda Relationship added related to 0010745
2009-09-29 14:12 hgbot Checkin
2009-09-29 14:12 hgbot Note Added: 0020472
2009-09-29 14:12 hgbot Status closed => resolved
2009-09-29 14:12 hgbot Resolution open => fixed
2009-09-29 14:12 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/f691da514c18f003d9e44699bba7adbcdefa83a7 [^] => http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/f691da514c18f003d9e44699bba7adbcdefa83a7 [^]
2009-10-06 11:27 psarobe Status resolved => closed
2009-10-06 11:27 psarobe Note Added: 0020758


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker