Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012987Openbravo ERPZ. Otherspublic2010-04-15 03:542010-12-09 16:00
sureshbabu 
gorkaion 
normalminoralways
closedfixed 
5
2.50 
 
Advanced Payables and Receivables Mngmt
No
0012987: Payment method & Take from fields are not selected based on BP configuration in add payment (sales/purchase invoices)
Payment method & Take from fields values not selected based on the Business partner configuration, in In Add payment window when selected from sales/purchase invoices
Precondition:

a) Navigate to payment method window(Financial Management || Receivables & Payables || Setup || Payment Method || Payment Method )
Click New
Enter Name: Wire Transfer and click save.

b) Navigate to Financial Account widow (Financial Management || Receivables & Payables || Transactions || Financial Account || Account)
Create a new financial account by clicking new

Enter the below details
Name:Account for wire transfer - with USD currency
Description: Account for wire transfer - with USD currency
Currency: USD
Type: Bank


c) Mapping the Financial account to Payment Method

Navigate to payment method window(Financial Management || Receivables & Payables || Setup || Payment Method || Payment Method )
Select the above created Payment method (Wire Transfer)
And click Accounts tab
Select Financial Account: Account for wire transfer - with USD currency
And leave remaining fields as it is and click save

d) Navigate to Business partner window and select Red bunny
Move to customer tab and select

Payment method:wire transfer
Financial Account: Account for wire transfer - with USD currency

Steps to reproduce the issue

Navigate to sales order window (Sales Management || Transactions || Sales Order || Header)
Click New and enter the below details

BP: Red bunny
Payment method:Wire Transfer

Navigate to Line tabs and click New and enter the below details

Product: Hammer
Qty: 1

Navigate back to "Header" tab and click complete button

"Process completed successfully" message appears

Navigate to "Payment Plan" tab and check the plan details

Payment Method field is rightly assigned with "Wire Transfer"


Then Click "Add payment from invoices" button
"Add payment" window will appear in the screen

Issue
In the Add window is selected from sales invoice, then check the "Payment method" & "Deposit to " fields, both are assigned with wrong values

Expected values:
Payment method: wire transfer
Deposit to : Account for wire transfer - with USD currency


Note:
Also check the "Payment method" & "Take from" field in add payment window if the window is selected from purchase invoice


Expected values:
Payment method: wire transfer
Deposit to : Account for wire transfer - with USD currency
No tags attached.
related to defect 0013202 closed eduardo_Argal Payment method & Account fields are not filled based on BP configuration in Make payment, receive payment & payment proposal 
jpg Wrong values assigned to Payment method & Take from fields in In Add payment window.JPG (161,642) 2010-04-15 03:54
https://issues.openbravo.com/file_download.php?file_id=2439&type=bug
jpg
Issue History
2010-04-15 03:54sureshbabuNew Issue
2010-04-15 03:54sureshbabuFile Added: Wrong values assigned to Payment method & Take from fields in In Add payment window.JPG
2010-04-15 09:49sureshbabuAssigned To => gorkaion
2010-05-04 09:32sureshbabuSummaryWrong values assigned to Payment method & Take from fields in In Add payment window when selected from sales/purchase invoices => Payment method & Take from fields are not selected based on BP configuration in add payment (sales/purchase invoices)
2010-05-04 09:32sureshbabuDescription Updatedbug_revision_view_page.php?rev_id=309#r309
2010-05-04 09:32sureshbabuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=311#r311
2010-05-10 16:37gorkaionRelationship addedrelated to 0013202
2010-05-10 16:54gorkaionNote Added: 0027106
2010-05-10 16:59hgbotCheckin
2010-05-10 16:59hgbotNote Added: 0027107
2010-05-10 16:59hgbotStatusnew => resolved
2010-05-10 16:59hgbotResolutionopen => fixed
2010-05-10 16:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/c5c040135d018e2d1d380d58d1c94f85496dd1f0 [^]
2010-05-11 08:18sureshbabuNote Added: 0027118
2010-05-11 08:18sureshbabuStatusresolved => closed
2010-12-09 16:00anonymoussf_bug_id0 => 3133131

Notes
(0027106)
gorkaion   
2010-05-10 16:54   
"Add Payment" button on invoice's windows will load the payment method set in the invoice.
(0027107)
hgbot   
2010-05-10 16:59   
Repository: erp/pmods/org.openbravo.advpaymentmngt
Changeset: c5c040135d018e2d1d380d58d1c94f85496dd1f0
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon May 10 16:58:14 2010 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/c5c040135d018e2d1d380d58d1c94f85496dd1f0 [^]

Fixed issue 12987.Loaded partner's default financial account.

---
M src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromInvoice.java
---
(0027118)
sureshbabu   
2010-05-11 08:18   
verified, Fields "Payment method" & "Deposit to" are selected in add payment based on BP default values, in both sales/purchase invoices