Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014757Openbravo ERPZ. Otherspublic2010-10-04 13:202011-05-18 16:47
networkb 
mirurita 
highminoralways
closedfixed 
5
2.50 
 
Advanced Payables and Receivables Mngmt
No
0014757: 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.
depends on backport 0015549 closed mirurita Payment Method combo should show only valid methods 
Issue History
2010-10-04 13:20networkbNew Issue
2010-10-04 13:20networkbAssigned To => mirurita
2010-10-04 13:26networkbSummaryPayment Method combo should show only associated valid methods => Payment Method combo should show only valid methods
2010-11-03 10:55eduardo_ArgalAssigned Tomirurita => anandan
2010-11-09 09:28networkbAssigned Toanandan => mirurita
2010-11-11 08:37anandanAssigned Tomirurita => anandan
2010-11-11 08:37anandanStatusnew => scheduled
2010-11-11 08:37anandanNote Added: 0032546
2010-11-11 08:37anandanfix_in_branch => pi
2010-12-30 11:31hgbotCheckin
2010-12-30 11:31hgbotNote Added: 0033430
2010-12-30 11:31hgbotStatusscheduled => resolved
2010-12-30 11:31hgbotResolutionopen => fixed
2010-12-30 11:31hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b575f6295a263d8be1a500cd7765cc1efcdfcb1b [^]
2010-12-30 11:31miruritaAssigned Toanandan => mirurita
2010-12-30 11:31miruritaStatusresolved => new
2010-12-30 11:31miruritaResolutionfixed => open
2010-12-30 11:31miruritaStatusnew => scheduled
2010-12-30 11:31miruritaStatusscheduled => resolved
2010-12-30 11:31miruritaResolutionopen => fixed
2010-12-31 15:20hudsonbotCheckin
2010-12-31 15:20hudsonbotNote Added: 0033505
2011-05-18 16:47eduardo_ArgalStatusresolved => closed

Notes
(0032546)
anandan   
2010-11-11 08:37   
Fix in branch
(0033430)
hgbot   
2010-12-30 11:31   
Repository: erp/devel/pi
Changeset: b575f6295a263d8be1a500cd7765cc1efcdfcb1b
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Thu Dec 30 11:25:44 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b575f6295a263d8be1a500cd7765cc1efcdfcb1b [^]

Fixes issue 14757: 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
---
(0033505)
hudsonbot   
2010-12-31 15:20   
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/b575f6295a26 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/f27092744645 [^]
Tests: http://builds.openbravo.com/view/int/ [^]