Openbravo Issue Tracking System - POS2
View Issue Details
0054812POS2POSpublic2024-03-01 06:132024-03-08 13:55
prakashmurugesan88 
ablasco 
normalmajorhave not tried
closedfixed 
5
 
24Q2 
No
0054812: MultiTabBaseView - Unable to switch tabs automatically after doing some action
In SSMS

There is a scenario
There are 2 tabs, Pending and Counted.
From Counted tab, if a product is added then it should be switched to Pending tab automatically where the added product will be displayed.

In MultiTabBaseView component, tab gets rendered based on "selectedTabValue".

Apart from initial value this can be set only when the tab is switched maually by clicking.

So unable to set the selectedTabValue to switch tabs after doing some action.
NA
No tags attached.
related to feature request 0054945 new Triage Platform Base Unable to Switch Tabs for Outside, Currently it can be done only from child components of MultiTabBaseView. 
Issue History
2024-03-01 06:13prakashmurugesan88New Issue
2024-03-01 06:13prakashmurugesan88Assigned To => Retail
2024-03-01 06:13prakashmurugesan88Triggers an Emergency Pack => No
2024-03-01 06:14prakashmurugesan88Description Updatedbug_revision_view_page.php?rev_id=27614#r27614
2024-03-01 08:28migueldejuanaTypedefect => feature request
2024-03-05 10:13AugustoMauchAssigned ToRetail => ablasco
2024-03-05 11:35AugustoMauchStatusnew => scheduled
2024-03-05 15:39hgbotNote Added: 0161672
2024-03-08 13:55hgbotResolutionopen => fixed
2024-03-08 13:55hgbotStatusscheduled => closed
2024-03-08 13:55hgbotFixed in Version => 24Q2
2024-03-08 13:55hgbotNote Added: 0161902
2024-03-08 13:55hgbotNote Added: 0161903
2024-03-14 06:12prakashmurugesan88Relationship addedrelated to 0054945

Notes
(0161672)
hgbot   
2024-03-05 15:39   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1398 [^]
(0161902)
hgbot   
2024-03-08 13:55   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: a880ef6cb622a3c5ecd7cb1a29330a27b2d02897
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 08-03-2024 13:54:26
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/a880ef6cb622a3c5ecd7cb1a29330a27b2d02897 [^]

Fixes ISSUE-54812: Enables changing tabs programmatically in MultiTabBaseView

---
A web-jspack/org.openbravo.core2/src/components/MultiTabBaseView/MultiTabBaseViewContext.jsx
M web-jspack/org.openbravo.core2/src/components/MultiTabBaseView/MultiTabBaseView.jsx
M web-jspack/org.openbravo.core2/src/components/MultiTabBaseView/__test__/MultiTabBaseView.test.jsx
M web-jspack/org.openbravo.core2/src/components/MultiTabBaseView/stories/MultiTabBaseView.stories.jsx
---
(0161903)
hgbot   
2024-03-08 13:55   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1398 [^]