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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013604
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersminoralways2010-06-10 10:562010-12-09 16:02
ReportersureshbabuView Statuspublic 
Assigned Tomirurita 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision0628a7ed4126
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50SCM revision 
Review Assigned To
Web browser
ModulesAdvanced Payables and Receivables Mngmt
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0013604: Same payment method can be assigned more than once to a financial account

DescriptionSame payment method can be assigned more than once to a financial account
Steps To ReproduceDeposit record not appear in the Financial account || Transaction tab

1) Created a Payment method (Financial Management || Receivables & Payables || Setup || Payment Method || Payment Method ) with the below details

Name: SimpleExecutionPrcoess_AutomaticManual

Defaults payment In (Section)

Allowed: Checked
Automatic Receipt: Checked
Automatic Deposit: Checked
Execution Type: Manual

Upon receipt use: In Transit payment account
Upon Deposit use: Deposited Payment account
Upon clearing use: Cleared Payment account


Defaults payment OUT (Section)

Allowed: Checked
Automatic Payment: Checked
Automatic Withdrawn: Checked
Execution Type: Manual

Upon Payment use: In Transit payment account
Upon Withdrawn use: Deposited Payment account
Upon clearing use: Cleared Payment account

And click save


2) Navigate to Financial account tab (Financial Management || Receivables & Payables || Transactions || Financial Account || Account ) and create a new

account

Click new and enter the below details
Name: OB_Bank_Account
Currency : Eur
Type : Bank
Bank code: 2054
Branch code: 0218
partial account no: 9129249788

3) navigate to Payment method tab and click new
4) Select the above created payment method: ExecutionType_Manual
5) Click save then click new
6) Try to select the above created payment method: ExecutionType_Manual once again.

Error: System allowing the user to select the payment method more than once.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0028466)
hgbot (developer)
2010-06-15 19:06

Repository: erp/devel/pi
Changeset: e75b2e4209d78e383e146535a4548610d5c4496c
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon Jun 14 13:40:53 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e75b2e4209d78e383e146535a4548610d5c4496c [^]

Fixed issue 13604. Added new index on FIN_FINACC_PAYMENTMETHOD table.

---
M src-db/database/model/tables/FIN_FINACC_PAYMENTMETHOD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0028520)
hudsonbot (developer)
2010-06-16 17:54

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/e75b2e4209d7 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/56352f289d38 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17673.obx [^]
(0028647)
sureshbabu (reporter)
2010-06-22 08:22

In postgres..below message appears when i try to assign the same payment method more than once..
ERROR: duplicate key value violates unique constraint "fin_finacc_paymethod_uniquekey"

Its better to change the error message more meaningful as Error: Payment method already assigned to this Financial account.
(0029575)
hgbot (developer)
2010-07-27 10:13

Repository: erp/devel/pi
Changeset: 6834c46944991b0e2897c2c66be87aba8377b85d
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Tue Jul 27 10:12:49 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/6834c46944991b0e2897c2c66be87aba8377b85d [^]

Fixes issue 13604: payment method - financial account assignment
Changed name of the message (FIN_FINACC_PAYMETHOD_UN)
More meaningful message is shown now when you try to assign the same
method twice to the same financial account.

---
M src-db/database/model/tables/FIN_FINACC_PAYMENTMETHOD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0029576)
hgbot (developer)
2010-07-27 10:14

Repository: erp/devel/api-checks
Changeset: 0628a7ed412632e8b9780cae5ded5478f2f511be
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Tue Jul 27 10:12:12 2010 +0200
URL: http://code.openbravo.com/erp/devel/api-checks/rev/0628a7ed412632e8b9780cae5ded5478f2f511be [^]

Fixes issue 13604: payment method - financial account assignment
Changed name of the message (FIN_FINACC_PAYMETHOD_UN)
More meaningful message is shown now when you try to assign the same
method twice to the same financial account.

---
M model/model/tables/FIN_FINACC_PAYMENTMETHOD.xml
M model/sourcedata/AD_MESSAGE.xml
---
(0029611)
hudsonbot (developer)
2010-07-27 15:41

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/6834c4694499 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/634cc0909ed2 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17922.obx [^]
(0029935)
sureshbabu (reporter)
2010-08-13 05:20

verified in postgres getting error message as "There already exists a configuration defined for this Financial Account and Payment Method."

- Issue History
Date Modified Username Field Change
2010-06-10 10:56 sureshbabu New Issue
2010-06-10 10:56 sureshbabu Assigned To => adrianromero
2010-06-10 10:56 sureshbabu Assigned To adrianromero => gorkaion
2010-06-14 12:57 gorkaion Status new => scheduled
2010-06-14 12:57 gorkaion fix_in_branch => pi
2010-06-15 19:06 hgbot Checkin
2010-06-15 19:06 hgbot Note Added: 0028466
2010-06-15 19:06 hgbot Status scheduled => resolved
2010-06-15 19:06 hgbot Resolution open => fixed
2010-06-15 19:06 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e75b2e4209d78e383e146535a4548610d5c4496c [^]
2010-06-16 17:54 hudsonbot Checkin
2010-06-16 17:54 hudsonbot Note Added: 0028520
2010-06-22 08:22 sureshbabu Note Added: 0028647
2010-06-22 08:22 sureshbabu Status resolved => new
2010-06-22 08:22 sureshbabu Resolution fixed => open
2010-07-22 12:19 mirurita Status new => scheduled
2010-07-22 12:19 mirurita Assigned To gorkaion => mirurita
2010-07-27 10:13 hgbot Checkin
2010-07-27 10:13 hgbot Note Added: 0029575
2010-07-27 10:13 hgbot Status scheduled => resolved
2010-07-27 10:13 hgbot Resolution open => fixed
2010-07-27 10:13 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/e75b2e4209d78e383e146535a4548610d5c4496c [^] => http://code.openbravo.com/erp/devel/pi/rev/6834c46944991b0e2897c2c66be87aba8377b85d [^]
2010-07-27 10:14 hgbot Checkin
2010-07-27 10:14 hgbot Note Added: 0029576
2010-07-27 10:14 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/6834c46944991b0e2897c2c66be87aba8377b85d [^] => http://code.openbravo.com/erp/devel/api-checks/rev/0628a7ed412632e8b9780cae5ded5478f2f511be [^]
2010-07-27 15:41 hudsonbot Checkin
2010-07-27 15:41 hudsonbot Note Added: 0029611
2010-08-13 05:20 sureshbabu Note Added: 0029935
2010-08-13 05:20 sureshbabu Status resolved => closed
2010-12-09 16:02 anonymous sf_bug_id 0 => 3133243


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker