Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0047798 | Openbravo ERP | A. Platform | public | 2021-10-01 17:20 | 2022-02-01 07:24 | ||||||||||||||
Reporter | vmromanos | ||||||||||||||||||
Assigned To | Triage Platform Base | ||||||||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||||||||
Status | new | Resolution | open | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | |||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0047798: Tab --> Remove Function weird behavior | ||||||||||||||||||
Description | Discovered in the Modify Payment Plan feature. There is a Remove Function defined into the tab (OB.APRM.deleteRow). There is a Validation Function defined into one of the fields (Outstanding --> OB.APRM.validateModifyPaymentPlanAmounts) When I delete any of the records in the grid, the validation function is automatically launched for the rest of the records available into the grid. I think running this validation always makes no sense and instead the Remove Function should manually launch that validation if needed. For the Modify Payment Plan feature the current behavior is not a problem, but the opposite as we need to run this validation. However, thinking in general the current behavior is weird. If changed, this should be reported as an API Change and provide a generic tool to implement the current behavior. | ||||||||||||||||||
Steps To Reproduce | As System Admin. Go to Window, Tabs and Fields. Search for Sales Invoice window. Select Payment Plan tab. Search for the Modify Payment Plan field which is hidden. Set Displayed = Y Change role to F&B group admin Go to Payment Term window. Create a header for * org - Overdue Payment Days Rule : 100 Create the following lines: - Percentage due: 25, Overdue Payment Days Rule: 10 - Percentage due: 35, Overdue Payment Days Rule: 15 - Percentage due: 20, Overdue Payment Days Rule: 90 Go to Sales Invoice window and create a new record. Select the above payment term in the header. Enter any line with some amount. Complete the invoice. Go to Payment Plan tab and select any record. Press Modify Payment Plan button. A grid is opened with several lines. Set a break point over the OB.APRM.validateModifyPaymentPlanAmounts function Delete any of the lines. Check that the OB.APRM.validateModifyPaymentPlanAmounts function is executed for the rest of the records available in the grid | ||||||||||||||||||
Proposed Solution | By default the validation should be executed for the affected record, not for the records in the grid. If the record is removed, then no validation should take place. By careful if implementing this behavior as it is an API Change. Provide an easy mechanism to implement the existing behavior. | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2021-10-01 17:20 | vmromanos | New Issue | |||||||||||||||||
2021-10-01 17:20 | vmromanos | Assigned To | => platform | ||||||||||||||||
2021-10-01 17:20 | vmromanos | Modules | => Core | ||||||||||||||||
2021-10-01 17:20 | vmromanos | Triggers an Emergency Pack | => No | ||||||||||||||||
2021-10-01 17:52 | vmromanos | Issue cloned | 0047799 | ||||||||||||||||
2021-10-01 17:52 | vmromanos | Relationship added | related to 0047799 | ||||||||||||||||
2021-10-01 18:20 | vmromanos | Relationship added | blocks 0047707 | ||||||||||||||||
2022-02-01 07:24 | alostale | Assigned To | platform => Triage Platform Base |
There are no notes attached to this issue. |