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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050163
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[POS2] POSmajorhave not tried2022-09-06 08:212022-09-12 14:45
Reportergonzalo_fernandezView Statuspublic 
Assigned Togonzalo_fernandez 
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

0050163: Enable a specific user action for ProductButtons related to generic products in keymaps

DescriptionThe 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-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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
---

- Issue History
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 Triggers an Emergency Pack => No
2022-09-06 08:37 AugustoMauch Status new => scheduled
2022-09-06 08:53 hgbot Note Added: 0140736
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
Powered by Mantis Bugtracker