Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0038864 | Openbravo ERP | 07. Sales management | public | 2018-06-29 10:19 | 2018-08-08 13:06 |
|
Reporter | joniturralde93 | |
Assigned To | collazoandy4 | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | | Fixed in Version | 3.0PR18Q4 | |
Merge Request Status | |
Review Assigned To | dmiguelez |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 2851 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0038864: Problems in 'Add Details' (Payment In) when autodistribute amount property is disabled |
Description | Window 'Payment In', button 'Add Details'.
When 'Add Payment: Automatically distribute amounts' property is set to 'N' or there are more than 100 shown invoices (so it doesn't autodistribute anyway), if you have many selected invoices and you change the 'Actual Payment' value to the same as 'Expected Payment', 'There is a difference of' doesn't refresh automatically (it should be 0) and therefore, 'Overpayment Action' combo box doesn't dissapear. Both fields should be refreshed in real time when 'Actual Payment' is modified. |
Steps To Reproduce | 1. Create a 'Payment In' record ('Payment Method'=Transferencia, 'Amount'=50000).
2. Set 'Add Payment: Automatically distribute amounts' property to 'N' with a preference.
3. Create some invoices, all with payment method 'Transferencia', with lines, no payments and completed, so they can be selected in 'Add Details'.
4. Click 'Add Details' for the 'Payment In' record.
5. Select some invoices.
6. Change 'Actual Payment' to 'Expected Payment' value.
7. Neither 'There is a difference of' or 'Overpayment Action' fields are refreshed ('There is a difference of' should be 0 and 'Overpayment Action' should disappear)
Point 2 works the same if you create more than 100 invoices, since system doesn't autodistribute amount when there are more than 100 records. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-06-29 10:19 | joniturralde93 | New Issue | |
2018-06-29 10:19 | joniturralde93 | Assigned To | => Triage Finance |
2018-06-29 10:19 | joniturralde93 | OBNetwork customer | => Yes |
2018-06-29 10:19 | joniturralde93 | Modules | => Core |
2018-06-29 10:19 | joniturralde93 | Support ticket | => 2851 |
2018-06-29 10:19 | joniturralde93 | Resolution time | => 1532037600 |
2018-06-29 10:19 | joniturralde93 | Triggers an Emergency Pack | => No |
2018-07-10 15:56 | Sandrahuguet | Assigned To | Triage Finance => AtulOpenbravo |
2018-07-18 18:03 | collazoandy4 | Assigned To | AtulOpenbravo => collazoandy4 |
2018-07-18 18:04 | collazoandy4 | Status | new => scheduled |
2018-07-19 16:09 | collazoandy4 | Note Added: 0105811 | |
2018-07-25 11:55 | hgbot | Checkin | |
2018-07-25 11:55 | hgbot | Note Added: 0105941 | |
2018-07-25 11:55 | hgbot | Status | scheduled => resolved |
2018-07-25 11:55 | hgbot | Resolution | open => fixed |
2018-07-25 11:55 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/4e896f3e4b174d10049a78887f0654ab514c3b70 [^] |
2018-07-25 11:55 | dmiguelez | Review Assigned To | => dmiguelez |
2018-07-25 11:55 | dmiguelez | Note Added: 0105942 | |
2018-07-25 11:55 | dmiguelez | Status | resolved => closed |
2018-07-25 11:55 | dmiguelez | Fixed in Version | => 3.0PR18Q4 |
2018-08-08 13:06 | hudsonbot | Checkin | |
2018-08-08 13:06 | hudsonbot | Note Added: 0106229 | |
Notes |
|
(0105811)
|
collazoandy4
|
2018-07-19 16:09
|
|
Test Plan
Go to Preference window and create a new record:
Property: Add Payment: Automatically distribute amounts
Value: N
Create some invoices pending to be paid
Go to Payment In window and create a new record:
Payment Method: Transferencia
Amount: 50000
Clic on Add Details button
Select some invoices and change Actual Payment to Expected Payment value.
Check There is a difference of and Overpayment Action fields are updated.
Test Plan II
Repeat the previous test plan with Add Payment: Automatically distribute amounts preference value to Y
Test Plan III
Repeat the two previous tests plan with more than 100 invoices pending to be paid. |
|
|
(0105941)
|
hgbot
|
2018-07-25 11:55
|
|
Repository: erp/devel/pi
Changeset: 4e896f3e4b174d10049a78887f0654ab514c3b70
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Wed Jul 18 23:32:49 2018 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/4e896f3e4b174d10049a78887f0654ab514c3b70 [^]
Fixes issue 38864: Problems in 'Add Details' (Payment In) when autodistribute
amount property is disabled
When 'Add Payment: Automatically distribute amounts' property is set to 'N' or
there are more than 100 shown invoices, if you have many selected invoices and
you change the 'Actual Payment' value to the same as 'Expected Payment',
'There is a difference of' doesn't refresh automatically (it should be 0) and
therefore, 'Overpayment Action' combo box doesn't dissapear. Both fields should
be refreshed in real time when 'Actual Payment' is modified.
Now the fields are properly updated even if the amount doesn't distribute
automatically
---
M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js
---
|
|
|
|
|
|
|
|