Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055640
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2024-05-31 12:202024-09-20 15:24
ReportercaristuView Statuspublic 
Assigned ToTriage Platform Base 
PriorityhighResolutionfixedFixed in VersionPR24Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0055640: on change function not executed on newly created records of P&E grids

DescriptionHaving 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 ReproduceThis 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 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks feature request 0055574 closedcaristu Modules Stock Incident Engine 

-  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
Powered by Mantis Bugtracker