Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0050163 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [POS2] POS | major | have not tried | 2022-09-06 08:21 | 2022-09-12 14:45 | |||
Reporter | gonzalo_fernandez | View Status | public | |||||
Assigned To | gonzalo_fernandez | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 22Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0050163: Enable a specific user action for ProductButtons related to generic products in keymaps | |||||||
Description | The ProductKeymap component renders instances of ProductButton. It does not include a leftAction property so the default one (OBPOS2_AddProduct) is always used. It would be useful if a specific leftAction could be selected based on the product isGeneric property. The ProductButtons that have this property as true would execute an action that would not add the product to the ticket but instead show in the search dialog all its product variants. In this feature, using the infrastructure developed for the ISSUE-50102, the implementation of the specific leftAction for generic products is required. It is worth noting that we already count with the technical design [1] of this project. [1] https://docs.google.com/document/d/1lI5dJu8_rb5iaXVbJplXfyqhoCSbcO9Y3N8-oqGfbnc [^] | |||||||
Steps To Reproduce | - | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0140736) hgbot (developer) 2022-09-06 08:53 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1182 [^] |
(0141026) hgbot (developer) 2022-09-12 14:45 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1182 [^] |
(0141027) hgbot (developer) 2022-09-12 14:45 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] Changeset: ddbad9da49f19068949686d3899470f0338b62b9 Author: Gonzalo Fernández García <gonzalo.fernandez@openbravo.com> Date: 12-09-2022 14:44:16 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/ddbad9da49f19068949686d3899470f0338b62b9 [^] Fixes ISSUE-50163: Enable specific leftAction for generic products ProductButtons With this change, ProductButtons with the flag isGeneric will execute a different action (showing the associated variant products) rather than the default AddProduct one. --- A web-jspack/org.openbravo.pos2/src/components/Service/GetVariantProductsFilter.js A web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/ApplyVariantProductsFilter.test.js A web-jspack/org.openbravo.pos2/src/model/user-interface/user-actions/ApplyVariantProductsFilter.js M src-db/database/sourcedata/AD_MESSAGE.xml M web-jspack/org.openbravo.pos2/src/authentication/loginInitActions.js M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/RestoreAddProductModeFromProductSearch.test.js M web-jspack/org.openbravo.pos2/src/model/user-interface/actions/productSearch/restoreAddProductModeFromProductSearch.js M web-jspack/org.openbravo.pos2/src/ob-init.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2022-09-06 08:21 | gonzalo_fernandez | New Issue | |
2022-09-06 08:21 | gonzalo_fernandez | Assigned To | => gonzalo_fernandez |
2022-09-06 08:21 | gonzalo_fernandez | OBNetwork customer | => No |
2022-09-06 08:21 | gonzalo_fernandez | Triggers an Emergency Pack | => No |
2022-09-06 08:37 | AugustoMauch | Status | new => scheduled |
2022-09-06 08:53 | hgbot | Merge Request Status | => open |
2022-09-06 08:53 | hgbot | Note Added: 0140736 | |
2022-09-12 14:43 | hgbot | Merge Request Status | open => approved |
2022-09-12 14:45 | hgbot | Note Added: 0141026 | |
2022-09-12 14:45 | hgbot | Resolution | open => fixed |
2022-09-12 14:45 | hgbot | Status | scheduled => closed |
2022-09-12 14:45 | hgbot | Fixed in Version | => 22Q4 |
2022-09-12 14:45 | hgbot | Note Added: 0141027 |
Copyright © 2000 - 2009 MantisBT Group |