Openbravo Issue Tracking System - POS2
View Issue Details
0056191POS2POSpublic2024-08-06 00:312024-08-06 14:51
axelmercado 
Rajesh_18 
highminoralways
closedfixed 
5
 
24Q324Q3 
No
0056191: Backport of 0055911: Products in remote mode and check "EM_Obpos2_Show_In_Search_Brows" not supported in POS2
When POS2 is used to load Products in remote mode and there are discounts/promotions that contain the check "Display Discount in Product Search and Browse". check, when searching for products in the terminal a huge error like the one shown in the following video is displayed: https://youtu.be/z3GRdBozz_8 [^] [^]
1_ In the "Master Data Model Configuration" window, configure the "Product - Sales order" model with "Remote" mode.
2- Have some discount/promotion that is applicable and that contains the check "Display Discount in Product Search and Browse" activated.
3- Enter POS2.
4- Try to search for a product either from the "Browse" button or in the search box.
5- Verify the error message without a clear message of the cause.
The error should be reported in the error with a clearer message.
No tags attached.
related to defect 0055911 closed Rajesh_18 Products in remote mode and check "EM_Obpos2_Show_In_Search_Brows" not supported in POS2 
Issue History
2024-08-06 00:31axelmercadoNew Issue
2024-08-06 00:31axelmercadoAssigned To => Retail
2024-08-06 00:31axelmercadoTriggers an Emergency Pack => No
2024-08-06 00:32axelmercadoFixed in Version => 24Q4
2024-08-06 00:32axelmercadoTarget Version => 24Q3
2024-08-06 00:33axelmercadoRelationship addedrelated to 0055911
2024-08-06 06:31Rajesh_18Assigned ToRetail => Rajesh_18
2024-08-06 06:31Rajesh_18Statusnew => acknowledged
2024-08-06 06:31Rajesh_18Statusacknowledged => scheduled
2024-08-06 06:57hgbotNote Added: 0167721
2024-08-06 06:59hgbotNote Added: 0167722
2024-08-06 08:26PracticsIssue Monitored: Practics
2024-08-06 10:24hgbotNote Added: 0167734
2024-08-06 14:51hgbotNote Added: 0167753
2024-08-06 14:51hgbotNote Added: 0167754
2024-08-06 14:51hgbotNote Added: 0167755
2024-08-06 14:51hgbotNote Added: 0167756
2024-08-06 14:51hgbotResolutionopen => fixed
2024-08-06 14:51hgbotStatusscheduled => closed
2024-08-06 14:51hgbotNote Added: 0167757
2024-08-06 14:51hgbotFixed in Version24Q4 => 24Q3
2024-08-06 14:51hgbotNote Added: 0167758

Notes
(0167721)
hgbot   
2024-08-06 06:57   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2838 [^]
(0167722)
hgbot   
2024-08-06 06:59   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/merge_requests/76 [^]
(0167734)
hgbot   
2024-08-06 10:24   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/290 [^]
(0167753)
hgbot   
2024-08-06 14:51   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/290 [^]
(0167754)
hgbot   
2024-08-06 14:51   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant [^]
Changeset: f6938dc833f7cb45de83b6f2286d022d29c74f26
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 06-08-2024 13:52:19
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/commit/f6938dc833f7cb45de83b6f2286d022d29c74f26 [^]

Related to ISSUE-56191: Updated test for DiscountVisiblity for remote mode poduct

---
M web-jspack/org.openbravo.pos2.restaurant/src/components/TicketMenuLine/__test__/TicketMenuLine.test.jsx
M web-jspack/org.openbravo.pos2.restaurant/src/components/TicketMenuLine/stories/TicketMenuLine.stories.jsx
---
(0167755)
hgbot   
2024-08-06 14:51   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/merge_requests/76 [^]
(0167756)
hgbot   
2024-08-06 14:51   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing [^]
Changeset: ba9cee8137452b6880cbf1a8477d015ecaddf4fd
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 06-08-2024 10:21:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/commit/ba9cee8137452b6880cbf1a8477d015ecaddf4fd [^]

Related to ISSUE-56191: Updated test for DiscountVisiblity for remote mode poduct

---
M web-jspack/org.openbravo.pos2.product.label.printing/src/model/messages/__test__/CalculateLabelTemplates.test.js
---
(0167757)
hgbot   
2024-08-06 14:51   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2838 [^]
(0167758)
hgbot   
2024-08-06 14:51   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 1ac27928cb307472aa55afc0efd14906ac742050
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 06-08-2024 10:18:28
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/1ac27928cb307472aa55afc0efd14906ac742050 [^]

Fixed ISSUE-56191: If remote mode is enabled for product then discount is applicable based on that product not from the masterdata

---
M web-jspack/org.openbravo.pos2/src/components/Exchange/ExchangeProductSelector/ExchangeOrderLineWrapper/__test__/ExchangeOrderLineWrapper.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Exchange/ExchangeProductSelector/ExchangeProductSelectorDialog/__test__/ExchangeProductSelectorDialog.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Exchange/ExchangeProductSelector/__test__/ExchangeProductSelector.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductButton/ProductButtonContentDiscount/ProductButtonContentDiscount.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductButton/ProductPopover/__test__/ProductPopover.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ProofOfPayment/ProofOfPaymentDetails/ProofOfPaymentDetailLine/__test__/ProofOfPaymentDetailLine.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ProofOfPayment/ProofOfPaymentDetails/__test__/ProofOfPaymentDetails.test.jsx
M web-jspack/org.openbravo.pos2/src/components/SelectLines/SelectedLinesGrid/__test__/SelectLines.test.jsx
M web-jspack/org.openbravo.pos2/src/components/SelectLines/SelectedLinesGrid/stories/SelectLines.stories.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketArea/__test__/TicketArea.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketArea/stories/TicketArea.stories.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/__test__/TicketLines.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/stories/TicketLines.stories.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketSummary/__test__/TicketSummary.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketSummary/storybook/TicketSummary.stories.jsx
M web-jspack/org.openbravo.pos2/src/components/TicketLineRenderCell/__test__/TicketLineRenderCell.test.jsx
M web-jspack/org.openbravo.pos2/src/components/VerifiedReturns/VerifiedReturnsGrid/TicketLineRenderCellWrapper/__test__/TicketLineRenderCellWrapper.test.jsx
M web-jspack/org.openbravo.pos2/src/components/VerifiedReturns/VerifiedReturnsGrid/__test__/VerifiedReturnsGrid.test.jsx
M web-jspack/org.openbravo.pos2/src/components/VerifiedReturns/VerifiedReturnsGrid/stories/VerifiedReturnsGrid.stories.jsx
M web-jspack/org.openbravo.pos2/src/core/discount/discountsVisibility/discountsVisibilityBase.js
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/ContributionHooks.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/ContributionHooks.js
---