Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 07. Sales managementminoralways2019-09-02 12:202019-09-05 12:21
Reporterjoniturralde93View Statuspublic 
Assigned Tocollazoandy4 
PriorityurgentResolutionfixedFixed in Version3.0PR19Q2.3
StatusclosedFix in branchFixed in SCM revisionb2b906f9d3b6
ProjectionnoneETAnoneTarget Version3.0PR19Q2.3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned ToSandrahuguet
Web browser
Regression levelProduction - Confirmed Stable
Regression date2018-03-18
Regression introduced in release3.0PR19Q2
Regression introduced by commit [^]
Triggers an Emergency PackNo

0041738: Modify payment plan recalculation when deleting line

DescriptionWhen you do a Modify Payment plan when there two lines, prior to 19Q2 you could delete the first one and change the second one quantity to the total, and after pressing enter, Expected amount would be recalculated.

After 19Q2, this doesn't happen. You need to change the first line Outstanding to 0 and the second line to the total amount, and then after pressing enter, Expected amount is recalculated.
Steps To Reproduce1. Make "Modify Payment Plan" button in Sales invoice visible
2. Find or create an invoice with two lines of payment plan
3. Modify Payment plan
4a. Delete first line
5a. Change outstanding of second line to total and press enter
6a. Expected amount is not recalculated (in 19Q1 it is)

Workaround for 19Q2:
4b. Change first line outstanding to 0
5b. Change outstanding of second line to total and press enter
6b. Expected amount is recalculated
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0041732pi closedcollazoandy4 Modify payment plan recalculation when deleting line 

-  Notes
hgbot (developer)
2019-09-05 12:17

Repository: erp/backports/3.0PR19Q2.3
Changeset: b2b906f9d3b6b02102535ff5a2cf2f37b1d81174
Author: Armaignac <collazoandy4 <at>>
Date: Wed Sep 04 18:31:19 2019 -0400
URL: [^]

Fixes issue 41738: Modify payment plan recalculation when deleting line

A wrong outstanding amount was used to check if all payment plan lines are valid

Now if the total outstanding amount plus the total received are distinct from the
invoice grand total an error is shown indicating a wrong payment plan quantity

M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-utilities.js
Sandrahuguet (developer)
2019-09-05 12:21

code review + testing ok

- Issue History
Date Modified Username Field Change
2019-09-02 17:30 Sandrahuguet Type defect => backport
2019-09-02 17:30 Sandrahuguet Target Version pi => 3.0PR19Q2.3
2019-09-05 12:17 hgbot Checkin
2019-09-05 12:17 hgbot Note Added: 0114419
2019-09-05 12:17 hgbot Status scheduled => resolved
2019-09-05 12:17 hgbot Resolution open => fixed
2019-09-05 12:17 hgbot Fixed in SCM revision => [^]
2019-09-05 12:21 Sandrahuguet Review Assigned To => Sandrahuguet
2019-09-05 12:21 Sandrahuguet Note Added: 0114423
2019-09-05 12:21 Sandrahuguet Status resolved => closed
2019-09-05 12:21 Sandrahuguet Fixed in Version => 3.0PR19Q2.3

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker