Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015110Openbravo ERPZ. Otherspublic2010-11-03 16:512011-09-19 10:18
rgoris 
mirurita 
normalmajoralways
closedno change required 
5
2.50 
 
Advanced Payables and Receivables Mngmt
No
0015110: Actual payment field value not synced with payment field value in grid
Actual payment field value not synced with payment field value in grid in ADD PAYMENT dialogue.
Complete a sales invoice. Hit ADD PAYMENT button. Enter the correct value in the grid (payment). Look at actual payment field value above (which is 0). This is not synchronized where it should.

If you do it the other way round, it works.
synchronize values
No tags attached.
png syncAmounts.png (64,301) 2010-11-15 19:55
https://issues.openbravo.com/file_download.php?file_id=3322&type=bug
png

png syncAmounts2.png (54,551) 2010-11-15 20:04
https://issues.openbravo.com/file_download.php?file_id=3323&type=bug
png

png syncAmounts3.png (55,765) 2010-11-15 20:15
https://issues.openbravo.com/file_download.php?file_id=3324&type=bug
png
Issue History
2010-11-03 16:51rgorisNew Issue
2010-11-03 16:51rgorisAssigned To => mirurita
2010-11-15 18:26miruritaNote Added: 0032622
2010-11-15 18:26miruritaStatusnew => closed
2010-11-15 18:26miruritaResolutionopen => no change required
2010-11-15 19:54rgorisNote Added: 0032624
2010-11-15 19:54rgorisStatusclosed => new
2010-11-15 19:54rgorisResolutionno change required => open
2010-11-15 19:55rgorisFile Added: syncAmounts.png
2010-11-15 20:04rgorisNote Added: 0032625
2010-11-15 20:04rgorisFile Added: syncAmounts2.png
2010-11-15 20:04rgorisNote Edited: 0032625bug_revision_view_page.php?bugnote_id=0032625#r1202
2010-11-15 20:15rgorisFile Added: syncAmounts3.png
2010-11-15 20:15rgorisNote Edited: 0032625bug_revision_view_page.php?bugnote_id=0032625#r1203
2010-11-15 20:16rgorisIssue Monitored: rmorley
2010-11-16 17:33rmorleyNote Added: 0032639
2011-09-19 10:18psarobeNote Added: 0041055
2011-09-19 10:18psarobeStatusnew => closed
2011-09-19 10:18psarobeResolutionopen => no change required

Notes
(0032622)
mirurita   
2010-11-15 18:26   
The behavior is intended:

Add Payment in Sales: the user should fill first the actual payment and the amount will be distributed among grid line payments.

Add Payment in Purchase: the actual payment is a read only field, so the user should go filling the amount in each grid line. The actual payment will be updated automatically after these events.
(0032624)
rgoris   
2010-11-15 19:54   
Mikel, the scenario you describe is correct (this is what we designed indeed). The total amount entered at Actual Payment is nicely distributed.

However, if the user enters an amount in the grid field first, then the Actual payment in the top half remains 0. This is not intended. It should update to the sum of all the values in the grid. Also see screenshot. I received only 6 EUR against invoice I09/828 and entered that value in the grid field.
(0032625)
rgoris   
2010-11-15 20:04   
(edited on: 2010-11-15 20:15)
Ok, this might get too complicated. Here is an easy fix: When this window opens, the fields in the grid must be disabled. Now, the user is forced to enter a value in the Actual Payment field and is not tempted to enter it in the grid. See 2nd attached image (of how it should behave).

Perhaps even better is to already pre-fill the amount due for the sales invoice from where you launched the Add Payment window. I´ll discuss with RMO.

(0032639)
rmorley   
2010-11-16 17:33   
The solutions proposed result in an unacceptable loss of functionality in order to fix what amounts to a cosmetic issue.
The both the actual payment field and the grid must remain editable (with the amount being distributed from the actual payment field to the grid.
The actual payment field should also be updated if the user chooses to update the grid first. If this is not possible (as it may result in a circular argument) then we should acknowledge this as a known limitation and leave the functionality as it is. However, I am surprised that it appears to be such a big issue to have the UI behave in the way it was specified. It should be possible to control the field logic based on the source of the update, i.e., a manual edit results in a distribution to the grid, but an automated update from the grid doesn't.
(0041055)
psarobe   
2011-09-19 10:18   
Finally this is the intended behaviour and it is going to remain like this

Thanks