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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017972
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2011-07-12 17:412011-08-01 14:20
ReporterpsanjuanView Statuspublic 
Assigned Tomirurita 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionf4641337b96f
ProjectionnoneETAnoneTarget Version3.0MP2
OSLinux 32 bitDatabaseOracleJava version1.6
OS VersionUbuntu 8.04.1Database version11.1.0.6.0Ant version1.7.0
Product VersionSCM 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

0017972: Add Payment Out window seems not to be working properly.

DescriptionAdd Payment Out window seems not to be working properly.
Steps To ReproduceCreate a payment method named "Pago automático" and get it assigned to a financial account.

See screen one.

Select a BP (vendor) and get that payment method and that financial account linked to it.

See screen two.

Create a purchase invoice for that BP and add a payment out. Realize that the payment method is not the one assigned to the BP, and even more it does not appear in the list of payment method.

See screen three

If the payment is processed is created with the payment method "Al contado".

See screen four.

TagsNo tags attached.
Attached Filespng file icon 17972-1.png [^] (77,018 bytes) 2011-07-12 17:49

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0039160)
psanjuan (manager)
2011-07-18 14:00

This issue is cause by a mistake in the java below:

modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/AdvPaymentMngtDao.java

@@ -1006,7 +1001,7 @@
       if (paymentDirection == PaymentDirection.IN) {
         obc.add(Restrictions.eq(FIN_PaymentMethod.PROPERTY_PAYINALLOW, true));
       } else if (paymentDirection == PaymentDirection.OUT) {
- obc.add(Restrictions.eq(FIN_PaymentMethod.PROPERTY_PAYINALLOW, true));
+ obc.add(Restrictions.eq(FIN_PaymentMethod.PROPERTY_PAYOUTALLOW, true));
       }
     }
(0039194)
hgbot (developer)
2011-07-18 18:46

Repository: erp/devel/pi
Changeset: f4641337b96f3f5514953c174ba1ee5609b15afd
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Mon Jul 18 18:46:04 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f4641337b96f3f5514953c174ba1ee5609b15afd [^]

Fixes issue 17972: Add Payment Out window seems not to be working properly

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/AdvPaymentMngtDao.java
---
(0039208)
psanjuan (manager)
2011-07-19 10:15

fixed and working
(0039619)
hudsonbot (developer)
2011-08-01 14:20

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/cf2afed6e8ef [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2011-07-12 17:41 psanjuan New Issue
2011-07-12 17:41 psanjuan Assigned To => gorkaion
2011-07-12 17:41 psanjuan Modules => Advanced Payables and Receivables Mngmt
2011-07-12 17:45 psanjuan Steps to Reproduce Updated View Revisions
2011-07-12 17:49 psanjuan File Added: 17972-1.png
2011-07-18 14:00 psanjuan Note Added: 0039160
2011-07-18 18:45 mirurita Assigned To gorkaion => mirurita
2011-07-18 18:46 hgbot Checkin
2011-07-18 18:46 hgbot Note Added: 0039194
2011-07-18 18:46 hgbot Status new => resolved
2011-07-18 18:46 hgbot Resolution open => fixed
2011-07-18 18:46 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f4641337b96f3f5514953c174ba1ee5609b15afd [^]
2011-07-19 10:15 psanjuan Note Added: 0039208
2011-07-19 10:15 psanjuan Status resolved => closed
2011-08-01 14:20 hudsonbot Checkin
2011-08-01 14:20 hudsonbot Note Added: 0039619


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker