Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0055640Openbravo ERPA. Platformpublic2024-05-31 12:202024-05-31 12:29
caristu 
Triage Platform Base 
highminorhave not tried
newopen 
5
 
 
Core
No
0055640: on change function not executed on newly created records of P&E grids
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.
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 [^]
No tags attached.
blocks feature request 0055574 closed caristu Modules Stock Incident Engine 
Issue History
2024-05-31 12:20caristuNew Issue
2024-05-31 12:20caristuAssigned To => Triage Platform Base
2024-05-31 12:20caristuModules => Core
2024-05-31 12:20caristuTriggers an Emergency Pack => No
2024-05-31 12:20caristuRelationship addedblocks 0055574
2024-05-31 12:24caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=28062#r28062
2024-05-31 12:29hgbotNote Added: 0165410

Notes
(0165410)
hgbot   
2024-05-31 12:29   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1263 [^]