Openbravo Issue Tracking System - POS2
View Issue Details
0055911POS2POSpublic2024-07-03 20:152024-07-23 13:38
axelmercado 
Rajesh_18 
highminoralways
closedfixed 
5
 
24Q4 
No
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 backport 005619124Q3 closed Rajesh_18 Backport of 0055911: Products in remote mode and check "EM_Obpos2_Show_In_Search_Brows" not supported in POS2 
Issue History
2024-07-03 20:15axelmercadoNew Issue
2024-07-03 20:15axelmercadoAssigned To => Retail
2024-07-03 20:15axelmercadoTriggers an Emergency Pack => No
2024-07-03 21:02PracticsIssue Monitored: Practics
2024-07-04 09:10guilleaerStatusnew => acknowledged
2024-07-05 09:02Rajesh_18Assigned ToRetail => Rajesh_18
2024-07-05 09:02Rajesh_18Statusacknowledged => scheduled
2024-07-08 08:41hgbotNote Added: 0166789
2024-07-08 12:00hgbotNote Added: 0166799
2024-07-08 12:02hgbotNote Added: 0166800
2024-07-23 13:38hgbotResolutionopen => fixed
2024-07-23 13:38hgbotStatusscheduled => closed
2024-07-23 13:38hgbotFixed in Version => 24Q4
2024-07-23 13:38hgbotNote Added: 0167289
2024-07-23 13:38hgbotNote Added: 0167290
2024-07-23 13:38hgbotNote Added: 0167291
2024-07-23 13:38hgbotNote Added: 0167292
2024-07-23 13:38hgbotNote Added: 0167293
2024-07-23 13:38hgbotNote Added: 0167294
2024-08-06 00:33axelmercadoRelationship addedrelated to 0056191

Notes
(0166789)
hgbot   
2024-07-08 08:41   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2782 [^]
(0166799)
hgbot   
2024-07-08 12:00   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/merge_requests/67 [^]
(0166800)
hgbot   
2024-07-08 12:02   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/283 [^]
(0167289)
hgbot   
2024-07-23 13:38   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 964eb39182e27120ec8cf69ce8faac9a81000c20
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 23-07-2024 11:38:09
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/964eb39182e27120ec8cf69ce8faac9a81000c20 [^]

Fixed ISSUE-55911: If remote mode is enabled for product then discount is applicable based on that product not from the masterdata
* Addded logic to handle contribution products query properly when done remotely

---
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
---
(0167290)
hgbot   
2024-07-23 13:38   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing [^]
Changeset: ced92ab9b0d19135453dcd057dde0e00b9b1230d
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 23-07-2024 14:47:19
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/commit/ced92ab9b0d19135453dcd057dde0e00b9b1230d [^]

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

---
M web-jspack/org.openbravo.pos2.product.label.printing/src/model/messages/__test__/CalculateLabelTemplates.test.js
---
(0167291)
hgbot   
2024-07-23 13:38   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant [^]
Changeset: e77fdeb7a948810569c38cd58465ac2ed625cfc1
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 08-07-2024 15:14:42
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/commit/e77fdeb7a948810569c38cd58465ac2ed625cfc1 [^]

Related to ISSUE-55911: 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
---
(0167292)
hgbot   
2024-07-23 13:38   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2782 [^]
(0167293)
hgbot   
2024-07-23 13:38   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/merge_requests/67 [^]
(0167294)
hgbot   
2024-07-23 13:38   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/283 [^]