|View Issue Details|
|Type||Category||Severity||Reproducibility||Date Submitted||Last Update|
|defect||[Openbravo ERP] 07. Sales management||major||always||2018-06-29 10:19||2018-08-08 13:06|
|Priority||urgent||Resolution||fixed||Fixed in Version||3.0PR18Q4|
|Status||closed||Fix in branch||Fixed in SCM revision||4e896f3e4b17|
|OS Version||Database version||Ant version|
|Product Version||pi||SCM revision|
|Review Assigned To||dmiguelez|
|Regression introduced in release|
|Regression introduced by commit|
|Triggers an Emergency Pack||No|
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.
|Tags||No tags attached.|
Go to Preference window and create a new record:
Property: Add Payment: Automatically distribute amounts
Create some invoices pending to be paid
Go to Payment In window and create a new record:
Payment Method: Transferencia
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.
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
|Code Review + Testing Ok|
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/bfd7a414183a [^]
Maturity status: Test
|2018-06-29 10:19||joniturralde93||New Issue|
|2018-06-29 10:19||joniturralde93||Assigned To||=> Triage Finance|
|2018-06-29 10:19||joniturralde93||Modules||=> Core|
|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||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||Note Added: 0106229|
|Copyright © 2000 - 2009 MantisBT Group|