Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0055640 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2024-05-31 12:20 | 2024-09-20 15:24 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | Triage Platform Base | |||||||
Priority | high | Resolution | fixed | Fixed in Version | PR24Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0055640: on change function not executed on newly created records of P&E grids | |||||||
Description | Having a P&E grid that accepts creating new records on it, the on change functions are not being executed for the newly created records. This is because the blur function of the items is being adapted the first time the record inline editor is opened. But if after that a new item is created (because a new record is added) the blur function is not being adapted for the newly created items. | |||||||
Steps To Reproduce | This problem can be reproduced with the "Incident" grid in the Confirm Task process of the sales order window. This grid is currently in development so it is necessary to use this branch[1] to reproduce the problem. 1) Using the AWO-QA client, create a new sales order with a line 2) Book it and create a picking for it 3) Switch to the Lines subtab, select the line. 4) Switch to the Task subtab. Edit the record to have a different confirmed quantity than the lower quantity. Press on the "Confirm" process. 5) In the Incident grid, in the displayed record enter a lower quantity than the default one and add a comment 6) A new record is created. Repeat the same done in step 5) but for this new line. Note that a new line is not created because the on change function is not being executed. [1] https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/258 [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
Notes | |
(0165410) hgbot (developer) 2024-05-31 12:29 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1263 [^] |
(0169443) hgbot (developer) 2024-09-20 15:24 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: b33f8584205beb4fac034db388b7a5a8e424870b Author: Carlos Aristu <carlos.aristu@openbravo.com> Date: 20-09-2024 10:29:37 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/b33f8584205beb4fac034db388b7a5a8e424870b [^] fixes BUG-55640: on change function not executed on newly created records of P&E grids The blur property of the P&E grid items was being properly adapted to execute the on change functions, the first time the record inline editor was shown. But for the case of the grids that accepts creating new records, the blur function was not being set for the grid items that may be created whenever a new record is added. To fix this problem, now we are always setting the adapted blur function for all the grid items that do not have it already set regardless if it is the first time the record inline editor is being opened or not. --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js --- |
(0169444) hgbot (developer) 2024-09-20 15:24 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1263 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2024-05-31 12:20 | caristu | New Issue | |
2024-05-31 12:20 | caristu | Assigned To | => Triage Platform Base |
2024-05-31 12:20 | caristu | Modules | => Core |
2024-05-31 12:20 | caristu | Triggers an Emergency Pack | => No |
2024-05-31 12:20 | caristu | Relationship added | blocks 0055574 |
2024-05-31 12:24 | caristu | Steps to Reproduce Updated | View Revisions |
2024-05-31 12:29 | hgbot | Note Added: 0165410 | |
2024-09-20 15:24 | hgbot | Resolution | open => fixed |
2024-09-20 15:24 | hgbot | Status | new => closed |
2024-09-20 15:24 | hgbot | Fixed in Version | => PR24Q4 |
2024-09-20 15:24 | hgbot | Note Added: 0169443 | |
2024-09-20 15:24 | hgbot | Note Added: 0169444 |
Copyright © 2000 - 2009 MantisBT Group |