Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0055683Openbravo ERPA. Platformpublic2024-06-05 11:042024-08-19 09:01
fermin_gascon 
meriem_azaf 
highmajoralways
closedfixed 
5
 
PR24Q4 
Core
No
0055683: Display logic not applied in sub tab when is being accesed from recent documents
Display logic doesn't work for a tab with level 2 if the window is open from recent documents menu.
- Install a local environment, for example pos2-modules
- In org.openbravo.pos2 modules use devel branch xxxxxxxx
- update database and compile
- Open the window channel touchpoint type, open any record and select and open in form mode the cash payment method in Payment method tab
- The display logic works, if payment provider field is empty the tab Application mode for payment is shown. If any payment provider is selected, it disappears.
- Close the window and open the same channel touchpoint and payment method but open it from recent documents.
- The display logic for tab Application mode for payments doesn't work

This behavior only happens if tab level is 1 or more for the parent tab. If the parent tab level is 0 it works fine.

.
No tags attached.
Issue History
2024-06-05 11:04fermin_gasconNew Issue
2024-06-05 11:04fermin_gasconAssigned To => Triage Platform Base
2024-06-05 11:04fermin_gasconModules => Core
2024-06-05 11:04fermin_gasconTriggers an Emergency Pack => No
2024-06-05 11:07fermin_gasconNote Added: 0165593
2024-07-01 10:11lmonrealIssue Monitored: martinsdan
2024-07-09 10:28AugustoMauchNote Added: 0166829
2024-07-15 08:54cbernerSummaryDisplay logic not applied in sub tab when is being acceded from recent documents => Display logic not applied in sub tab when is being accesed from recent documents
2024-07-23 15:03cbernerAssigned ToTriage Platform Base => meriem_azaf
2024-07-23 15:03cbernerStatusnew => scheduled
2024-07-26 10:55hgbotNote Added: 0167384
2024-07-31 15:29meriem_azafNote Added: 0167551
2024-08-01 08:39AugustoMauchNote Edited: 0166829bug_revision_view_page.php?bugnote_id=0166829#r28301
2024-08-19 09:01hgbotResolutionopen => fixed
2024-08-19 09:01hgbotStatusscheduled => closed
2024-08-19 09:01hgbotFixed in Version => PR24Q4
2024-08-19 09:01hgbotNote Added: 0168197
2024-08-19 09:01hgbotNote Added: 0168198

Notes
(0165593)
fermin_gascon   
2024-06-05 11:07   
Use branch https://gitlab.com/openbravo/devel/pmods/org.openbravo.pos2/-/tree/issue/55683?ref_type=heads [^]
(0166829)
AugustoMauch   
2024-07-09 10:28   
(edited on: 2024-08-01 08:39)
SLA updated to the standard 3-week deadline, because the issue does not meet the requirements for 5-day major issues.

(0167384)
hgbot   
2024-07-26 10:55   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1315 [^]
(0167551)
meriem_azaf   
2024-07-31 15:29   
Test plan:
1. Login in BO as white valley group admin.
2. Go to Channel Touchpoint - Type choose one.
3. Select a record, then select in payment method any record by double clicking on it.
4. Refresh or go back and open the payment method from recent documents.

See that there are 1 sub tab visible "Payment Rounding".
https://gitlab.com/-/project/15406921/uploads/67ea52782679ed6add0dc582bb69497f/Peek_2024-07-26_09-52.gif [^]
(0168197)
hgbot   
2024-08-19 09:01   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 10f404140b739835f47096ea97756c1fdfcd0540
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 19-08-2024 07:01:38
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/10f404140b739835f47096ea97756c1fdfcd0540 [^]

Fixes ISSUE-55683: Do not compute tab display logic of ancestors of direct record

When opening a direct record (i.e. by clicking on the header of a field in form view, or by cliking on Recent Records from the workspace,
the tab display logic of the ancestor tabs of the direct record should not be computed, because we need to ensure that the target record
is displayed.

The tab display logic of records that belong to tabs that are not ancestors of the direct record should be computed as usual

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
(0168198)
hgbot   
2024-08-19 09:01   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1315 [^]