Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049627
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminorhave not tried2022-06-22 14:172022-08-17 15:14
ReportercbernerView Statuspublic 
Assigned Toablasco 
PrioritynormalResolutionfixedFixed in Version22Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0049627: Product search should filter out the service products that require to be linked to a product

DescriptionWhen a product is configured as a Service Product and marked with Linked To Product, it should not appear in the product search, as it is not possible to add it without having a product to link it with.

In old POS this works this way, the product search doesn't display service products marked with linked to product.
Steps To Reproduce1. Open and login WebPOS2
2. Click on the product search bar and write installation pack
3. Check that installation unit is shown, although is a service product and should only be added to a given linked product.

Repeat the process in old pos and see that there is filtered out. Some gifs have been attached to this issue.
TagsNo tags attached.
Attached Filesgif file icon ServiceProductAppearingInProductSearch.gif [^] (250,052 bytes) 2022-06-22 14:17


gif file icon ServiceProductNotAppearingInProductSearch.gif [^] (159,354 bytes) 2022-06-22 14:18

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0139835)
hgbot (developer)
2022-08-03 11:51

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1119 [^]
(0139836)
hgbot (developer)
2022-08-03 12:18

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/887 [^]
(0140203)
hgbot (developer)
2022-08-17 15:14

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: ffc9fdb1ebafd786110e443d2ad70fc789a7bd1a
Author: Adrián Blasco <adrian.blasco@openbravo.com>
Date: 17-08-2022 13:14:41
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/ffc9fdb1ebafd786110e443d2ad70fc789a7bd1a [^]

Fixes ISSUE-49627: Properties in Cache Products to Filter Linked Service products for Product search

Several extra properties have been added to the products cache:
id, includeProducts, includeProductCategories, productType, isLinkedToProduct and proposalType

Some of this properties are not directly related with this issue, and have been added to improve the timings on some of the queries related with linked and related services.

---
M web/org.openbravo.retail.posterminal/app/model/masterdata/ProductModel.js
---
(0140204)
hgbot (developer)
2022-08-17 15:14

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/887 [^]
(0140205)
hgbot (developer)
2022-08-17 15:14

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1119 [^]
(0140206)
hgbot (developer)
2022-08-17 15:14

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: c8b0dff2aff584065d14091b3197a728fece92e8
Author: Adrián Blasco <adrian.blasco@openbravo.com>
Date: 17-08-2022 13:14:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/c8b0dff2aff584065d14091b3197a728fece92e8 [^]

Fixes ISSUE-49627: Linked Service products should not appear in normal Product search

Linked service products now only appear on the Service Configuration step, as they should, and are filtered out on the normal product search.

---
M web-jspack/org.openbravo.pos2/src/components/ProductKeymap/__mock__/MockCriteria.js
M web-jspack/org.openbravo.pos2/src/components/ProductSearch/FilteredProductsKeymap/FilteredProductsKeymap.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductSearch/FilteredProductsKeymap/GetFilteredProductsKeymapInfo.js
M web-jspack/org.openbravo.pos2/src/components/Service/ServiceConfigurationStep/ServiceConfigurationStep.jsx
M web-jspack/org.openbravo.pos2/src/components/Service/ServiceConfigurationStep/__test__/ServiceConfigurationStep.test.jsx
M web-jspack/org.openbravo.pos2/src/core/productSearch/__test__/mockMasterdataProduct.js
M web-jspack/org.openbravo.pos2/src/core/productSearch/__test__/productSearchEngine.test.js
M web-jspack/org.openbravo.pos2/src/core/productSearch/productSearchEngine.js
---

- Issue History
Date Modified Username Field Change
2022-06-22 14:17 cberner New Issue
2022-06-22 14:17 cberner Assigned To => Retail
2022-06-22 14:17 cberner File Added: ServiceProductAppearingInProductSearch.gif
2022-06-22 14:17 cberner Triggers an Emergency Pack => No
2022-06-22 14:18 cberner File Added: ServiceProductNotAppearingInProductSearch.gif
2022-08-01 12:35 AugustoMauch Assigned To Retail => ablasco
2022-08-01 12:35 AugustoMauch Status new => scheduled
2022-08-03 11:51 hgbot Note Added: 0139835
2022-08-03 12:18 hgbot Note Added: 0139836
2022-08-17 15:14 hgbot Resolution open => fixed
2022-08-17 15:14 hgbot Status scheduled => closed
2022-08-17 15:14 hgbot Fixed in Version => RR22Q4
2022-08-17 15:14 hgbot Note Added: 0140203
2022-08-17 15:14 hgbot Note Added: 0140204
2022-08-17 15:14 hgbot Note Added: 0140205
2022-08-17 15:14 hgbot Fixed in Version RR22Q4 => 22Q4
2022-08-17 15:14 hgbot Note Added: 0140206


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker