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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021885
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajorhave not tried2012-10-09 01:592012-10-30 12:58
ReporterpjuvaraView Statuspublic 
Assigned ToioritzCia 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision4b56827a346b
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned Toxabiermerino
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021885: Wrong action taken when payment is added to invoice

DescriptionConsider this scenario (with reference to F&B demo data):
- Bank account "Bank account 1" has two payment methods: Check and Wire Transfer
- Check is configured with Automatic Deposit = N
- Wire Transfer is configured with Automatic Deposit = Y

Consider a sales invoice that has payment method Wire Transfer.

If the customer instead of wire transfer pays with check, you can record that by pressing the Add Payment button and in the popup window change the payment method.

When you click process, since the payment method does not have automatic deposit, you should be able to choose between the two actions:
   - Process Received Payment(s) (default option)
   - Process Received Payment(s) and Deposit

However, only the second option "Process Received Payment(s) and Deposit" is available.

This means that the set of available actions is not derived from the payment method that the user has chosen but the payment method of the invoice.
Steps To ReproduceThis issue can be reproduced in main using the live build environment.
Login as Openbravo.
Navigate to the sales invoice window
Select an invoice with Wire Transfer as payment method, for example invoice 1000027.
Click on Add Payment
Change payment method to Check
Click Process

You should see Process Received Payment(s) as an option.
TagsCoworking
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0053364)
hgbot (developer)
2012-10-16 09:14

Repository: erp/devel/pi
Changeset: 4b56827a346b5a34e3f294ef9a953b6e7440bf3d
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Mon Oct 15 09:41:26 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4b56827a346b5a34e3f294ef9a953b6e7440bf3d [^]

Fixes issue 21885: Wrong action taken when payment is added to invoice.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromInvoice.html
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromInvoice.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_Utility.java
---
(0053403)
hudsonbot (developer)
2012-10-16 18:54

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/0381663eaf40 [^]

Maturity status: Test
(0053814)
xabiermerino (reporter)
2012-10-30 12:58

verified

- Issue History
Date Modified Username Field Change
2012-10-09 01:59 pjuvara New Issue
2012-10-09 01:59 pjuvara Assigned To => dmiguelez
2012-10-09 01:59 pjuvara Modules => Core
2012-10-09 02:00 pjuvara Tag Attached: Coworking
2012-10-09 11:14 dmiguelez Assigned To dmiguelez => jonalegriaesarte
2012-10-09 13:27 ioritzCia Assigned To jonalegriaesarte => ioritzCia
2012-10-15 09:43 ioritzCia Status new => scheduled
2012-10-15 09:43 ioritzCia fix_in_branch => pi
2012-10-16 09:14 hgbot Checkin
2012-10-16 09:14 hgbot Note Added: 0053364
2012-10-16 09:14 hgbot Status scheduled => resolved
2012-10-16 09:14 hgbot Resolution open => fixed
2012-10-16 09:14 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4b56827a346b5a34e3f294ef9a953b6e7440bf3d [^]
2012-10-16 18:54 hudsonbot Checkin
2012-10-16 18:54 hudsonbot Note Added: 0053403
2012-10-30 12:58 xabiermerino Review Assigned To => xabiermerino
2012-10-30 12:58 xabiermerino Note Added: 0053814
2012-10-30 12:58 xabiermerino Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker