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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057178
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2024-11-19 12:212024-11-21 18:32
ReporternicolasurizView Statuspublic 
Assigned TojavierRodriguez 
PriorityhighResolutionfixedFixed in Version25Q1
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

0057178: When flag at Organization "Force the Price for a Product at 0 on WebPOS" is to True, avoid the Kit Items to be added.

DescriptionIf the field at Organization level in the BO "Force the Price for a Product at 0 on WebPOS" is set to True, the Kits are not working as the Kit Items have to be set in the price list to Price 0.

When you click on a Kit Item to add it to the ticket, a technical error is displayed avoiding to add it.
Steps To Reproduce1. Login BO
2. Go to Organization and check to True the field "Force the Price for a Product at 0 on WebPOS"
3. Configure a KIT with its KIT ITEMS as it is defined in POS2 User guide.
4. Login POS and try to add the kit with its items, the kit items remain blocked.
Proposed SolutionThe add product hook setPriceForProductsWithPriceZero is not checking if there are products inside the payload.

kit items are not common lines, there are added to the kit line. during the add product, if a kit item is added, it is included inside the kit and it is removed from the payload.

SOLUTION: Check if inside the payload there is products to do its stuff. Otherwise, do not execute nothing
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0172233)
hgbot (developer)
2024-11-19 14:14

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3112 [^]
(0172446)
hgbot (developer)
2024-11-21 18:32

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3112 [^]
(0172447)
hgbot (developer)
2024-11-21 18:32

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 7f495d18d6452ab91d794f0188a7a1eb4bce409d
Author: Javier Rodriguez Regueiro <j.rodriguez@orisha.com>
Date: 21-11-2024 17:31:06
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/7f495d18d6452ab91d794f0188a7a1eb4bce409d [^]

Fixed ISSUE-57178: Skip setPriceForProductsWithPriceZero if there is not any product inside the payload

---
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/AddProductHooks.js
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/__test__/AddProductActionPreparation.test.js
---

- Issue History
Date Modified Username Field Change
2024-11-19 12:21 nicolasuriz New Issue
2024-11-19 12:21 nicolasuriz Assigned To => Retail
2024-11-19 12:21 nicolasuriz Triggers an Emergency Pack => No
2024-11-19 13:40 javierRodriguez Status new => scheduled
2024-11-19 13:40 javierRodriguez Proposed Solution updated
2024-11-19 13:53 javierRodriguez Assigned To Retail => javierRodriguez
2024-11-19 14:14 hgbot Note Added: 0172233
2024-11-21 18:32 hgbot Note Added: 0172446
2024-11-21 18:32 hgbot Resolution open => fixed
2024-11-21 18:32 hgbot Status scheduled => closed
2024-11-21 18:32 hgbot Fixed in Version => 25Q1
2024-11-21 18:32 hgbot Note Added: 0172447


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker