Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015549Openbravo ERPZ. Otherspublic2010-10-04 13:202011-01-20 11:45
networkb 
mirurita 
highminoralways
closedfixed 
5
2.50 
2.50MP26 
Advanced Payables and Receivables Mngmt
No
0015549: Payment Method combo should show only valid methods
When creating an invoice "Payment Method" combo show all values defined, although they don't belong to your BP Financial Account.

If you choose a Payment Method which does not belong to your BP Financial Account, no actions are going to be performed so you should obtain a generic message saying: "Be aware that Payment Method chosen does not belong to your Financial Account, so some automatic actions could not be performed".
1. Financial Management || Receivables & Payables || Setup || Payment Method || Payment Method : create record
   name=efectivo
   Payment In Allowed=checked
   Automatic Receipt =checked
   Automatic Deposit =checked
2. Financial Management || Receivables & Payables || Transactions || Financial Account || Account : create record with type=Bank and no records in its Payment Method tab
3. Financial Management || Receivables & Payables || Transactions || Financial Account || Account : create record with type=Cash and add record for "efectivo" in its Payment Method tab
4. Master Data Management || Business Partner || Business Partner >> Customer : search for Mcgiver and set Financial Account=Bank
5. Sales Management || Transactions || Sales Invoice || Header : create ARInvoice for Mcgiver and PaymentMethod=efectivo. Add any line. COMPLETE the invoice.

You will realize that not Automatic Payment has been performed.
Always that you choose a Payment Method which does not belongs to your BP Financial Account, you should receive an info message
No tags attached.
blocks defect 0014757 closed mirurita Payment Method combo should show only valid methods 
Issue History
2010-12-30 11:31miruritaTypedefect => backport
2010-12-30 11:31miruritafix_in_branchpi => 2.50
2010-12-30 12:28hgbotCheckin
2010-12-30 12:28hgbotNote Added: 0033431
2010-12-30 12:28hgbotStatusscheduled => resolved
2010-12-30 12:28hgbotResolutionopen => fixed
2010-12-30 12:28hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/b575f6295a263d8be1a500cd7765cc1efcdfcb1b [^] => http://code.openbravo.com/erp/stable/2.50/rev/f9633ac9ea18665188a6b5bffa790b3411c67326 [^]
2011-01-20 11:45psarobeNote Added: 0033788
2011-01-20 11:45psarobeStatusresolved => closed
2011-01-20 11:45psarobeFixed in Version => 2.50MP26

Notes
(0033431)
hgbot   
2010-12-30 12:28   
Repository: erp/stable/2.50
Changeset: f9633ac9ea18665188a6b5bffa790b3411c67326
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Thu Dec 30 12:27:15 2010 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/f9633ac9ea18665188a6b5bffa790b3411c67326 [^]

Fixes issue 15549: Payment Method combo should show only valid methods

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/erpCommon/ad_callouts/SE_Invoice_BPartner.java
---
(0033788)
psarobe   
2011-01-20 11:45   
Tested working fine