Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014919Openbravo ERPZ. Otherspublic2010-10-19 15:212010-12-09 16:07
RenateNieuwkoop 
mirurita 
normalminoralways
closedno change required 
5
2.50 
 
Advanced Payables and Receivables Mngmt
No
0014919: APR: Selection of Payment method does not populate the correct information in the Financial account
When I go into Financial Account and go to the payment method tab, when entering a new record and selecting a payment method that I defined, the payment IN and payment OUT should be populated automatically. This doesn't happen currently.
See my snapshots
Go to Payment method in the setup section and setup for example 'check' as a payment method, with values:
Defaults Payment IN:
Payment in Allowed: selected
Automatic Receipt: not selected
Automatic Deposit: not selected
Execution Type: automatic
Execution Process: Print Check simple process
Upon Receipt Use: In Transit Payment account
Upon Deposit Use: Deposited Payment account
Upon Clearing Use: Cleared Payment account

Defaults Payment OUT:
Payment Out Allowed: selected
Automatic Payment: not selected
Automatic Withdrawn: not selected
Execution Type: automatic
Execution Process: Print Check simple process
Upon Payment Use: In Transit Payment account
Upon Withdrawal Use: Withdrawn Payment account
Upon Clearing Use: Cleared Payment account

Then go to the Financial Account for bank for example, go to the Payment Method tab and create a new record. Select in the Payment Method the above created Payment method. Some fields are now populated, some are not.
See snapshots
No tags attached.
png 149191.png (44,857) 2010-10-19 15:27
https://issues.openbravo.com/file_download.php?file_id=3245&type=bug
png

png 149192.png (23,017) 2010-10-19 15:27
https://issues.openbravo.com/file_download.php?file_id=3246&type=bug
png

png 149193.png (32,800) 2010-10-19 15:27
https://issues.openbravo.com/file_download.php?file_id=3247&type=bug
png

png 149194.png (33,089) 2010-10-19 15:28
https://issues.openbravo.com/file_download.php?file_id=3248&type=bug
png

patch issue14919.patch (2,583) 2010-10-20 12:06
https://issues.openbravo.com/file_download.php?file_id=3251&type=bug
Issue History
2010-10-19 15:21RenateNieuwkoopNew Issue
2010-10-19 15:21RenateNieuwkoopAssigned To => adrianromero
2010-10-19 15:26RenateNieuwkoopNote Added: 0031981
2010-10-19 15:27RenateNieuwkoopFile Added: 149191.png
2010-10-19 15:27RenateNieuwkoopFile Added: 149192.png
2010-10-19 15:27RenateNieuwkoopFile Added: 149193.png
2010-10-19 15:28RenateNieuwkoopFile Added: 149194.png
2010-10-19 15:34RenateNieuwkoopNote Added: 0031982
2010-10-19 16:31adrianromeroAssigned Toadrianromero => eduardo_Argal
2010-10-19 16:31adrianromeroCategoryAdvanced Payables and Receivables IDL => Advance Payables and Receivables
2010-10-20 09:39miruritaNote Added: 0031997
2010-10-20 09:39miruritaAssigned Toeduardo_Argal => mirurita
2010-10-20 09:39miruritaStatusnew => feedback
2010-10-20 11:27RenateNieuwkoopNote Added: 0032000
2010-10-20 12:06miruritaFile Added: issue14919.patch
2010-10-20 12:10miruritaNote Added: 0032003
2010-10-20 16:11miruritaNote Added: 0032014
2010-10-20 16:11miruritaStatusfeedback => closed
2010-10-20 16:11miruritaResolutionopen => no change required
2010-12-09 16:07anonymoussf_bug_id0 => 3133522

Notes
(0031981)
RenateNieuwkoop   
2010-10-19 15:26   
As appears from the screenshots the following fields do not get populated:

Payment IN:
Upon Receipt Use: In Transit Payment account
Upon Deposit Use: Deposited Payment account
Upon Clearing Use: Cleared Payment account

Payment OUT:
Upon Withdrawal Use: Withdrawn Payment account
Upon Clearing Use: Cleared Payment account
(0031982)
RenateNieuwkoop   
2010-10-19 15:34   
When trying again, now the Payment OUT information was populated correctly. The Payment IN information still wasn't there and the pull down fields did not have any values. I had to save the record first and then the values appeared in the pull down lists.
(0031997)
mirurita   
2010-10-20 09:39   
Hi Renate,

It works for me with APRM 1.0.7 and Firefox.
There was an issue similar to this one reported by Dmitry [1] and it was fixed on August 27th, so it's available from 1.0.6.

What is the APRM version and web browser where you can reproduce the issue?

[1] https://issues.openbravo.com/view.php?id=14326 [^]
(0032000)
RenateNieuwkoop   
2010-10-20 11:27   
I am using the virtual machine 3.0RC2. I scanned for updates and installed them, restarted tomcat and now all is appearing up to date.
The versions I have are:
core 3.0.8459
Advanced Payables and Receivables - Spanish Translation - 1.0.2 - Spanish (Spain)
Advanced Payables and Receivables Mngmt - 3.0.6 - English (USA) (which is part of
Openbravo V3 - 3.0.5 - English (USA))

I also cleared the cache of my browser, which is mozilla firefox 3.6.10

When I look for updates it tells me all is up to date, yet I still see the same problem.
(0032003)
mirurita   
2010-10-20 12:10   
I was wrong, the fix was done in core [1] and looking at the comment [2] it will be available on MP22.

RC2 depends on MP21, so the problem will be fixed when updating to RC3.
Could you please apply the attached patch and confirm that the issue is fixed?

[1] https://code.openbravo.com/erp/devel/pi/rev/1920c9928b7432bef3283891b5a38570a3b39a08 [^]
[2] https://issues.openbravo.com/view.php?id=14326#c30410 [^]
(0032014)
mirurita   
2010-10-20 16:11   
I will close because I've tested with MP22 and Firefox 3.6 and it's working.

If you continue facing the problem in the RC3, please reopen it.

For applying the patch, you should just from your workspace root run:
patch -p1 < patch_to_the_file
and then compile.