Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0047754 | POS2 | POS | public | 2021-09-24 10:40 | 2022-05-24 09:31 |
|
Reporter | jmelin | |
Assigned To | AtulOpenbravo | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0047754: JIRA 707 - Product are grouped when "Consolidate" is not checked |
Description | When, at Org level, the "Consolidate products in Buy template" or "Consolidate products in Buy template" is not checked we should print one ticket per product/quantity.
|
Steps To Reproduce |
If I have the following products with notification :
- 2 product A (prepare ticket link to HMW A)
- 1 product B (prepare ticket link to HMW B)
If "Consolidate products in Buy template" is not checked
Then we print 1 ticket for each product A and 1 ticket for product B (3 tickets in total)
If "Consolidate products in Buy template" is checked
Then we print 1 ticket for all the products
If "Consolidate products in Prepare template" is not checked
Then we print 1 ticket for each product A and 1 ticket for product B (3 tickets in total on their respective HMW configured)
If "Consolidate products in Prepare template" is checked
Then we print 1 ticket per HMW linked (1 ticket on HMW A with all product A and 1 ticket on HMW B with all product B) |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0047818 | TAP | closed | AtulOpenbravo | JIRA 707 - Product are grouped when "Consolidate" is not checked |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2021-09-24 10:40 | jmelin | New Issue | |
2021-09-24 10:40 | jmelin | Assigned To | => Retail |
2021-09-24 10:40 | jmelin | Triggers an Emergency Pack | => No |
2021-10-01 09:17 | AtulOpenbravo | Assigned To | Retail => AtulOpenbravo |
2021-10-01 09:17 | AtulOpenbravo | Status | new => scheduled |
2021-10-01 14:22 | hgbot | Note Added: 0132100 | |
2021-10-01 14:39 | AtulOpenbravo | Note Added: 0132101 | |
2021-10-06 07:46 | hgbot | Note Added: 0132179 | |
2021-10-06 09:57 | AtulOpenbravo | Status | scheduled => feedback |
2021-10-06 09:57 | AtulOpenbravo | Status | feedback => scheduled |
2021-10-07 07:07 | hgbot | Resolution | open => fixed |
2021-10-07 07:07 | hgbot | Status | scheduled => closed |
2021-10-07 07:07 | hgbot | Note Added: 0132217 | |
2021-10-07 07:07 | hgbot | Note Added: 0132218 | |
2021-10-07 07:07 | hgbot | Note Added: 0132219 | |
2021-10-07 07:07 | hgbot | Note Added: 0132220 | |
2021-10-07 07:07 | hgbot | Note Added: 0132221 | |
2021-10-07 07:07 | hgbot | Note Added: 0132222 | |
2021-10-07 07:42 | hgbot | Note Added: 0132228 | |
2021-10-07 09:14 | hgbot | Note Added: 0132230 | |
2021-10-07 09:14 | hgbot | Note Added: 0132231 | |
2021-10-07 09:14 | hgbot | Note Added: 0132232 | |
2021-10-07 09:14 | hgbot | Note Added: 0132233 | |
2022-05-24 09:31 | hgbot | Note Added: 0137660 | |
Notes |
|
(0132100)
|
hgbot
|
2021-10-01 14:22
|
|
|
|
|
Test Plan
- Configure following products with notification :
- Cheese Cake with HMW A
- Brownie with HMW A
- Carbonara Pizza with HWM B
- Set Vall Blanca Store with "Consolidate products in Buy template" = No
- Create ticket and add above all products with below quantities
- Cheese Cake 2
- Brownie 1
- Carbonara Pizza 2
Pay and Complete the ticket.
- Realize that local printer has 5 notification tickets with below product and quantities
- Ticket 1 - Cheese Cake Qty 1
- Ticket 2 - Cheese Cake Qty 1
- Ticket 3 - Brownie Qty 1
- Ticket 4 - Carbonara Pizza Qty 1
- Ticket 5 - Carbonara Pizza Qty 1
- Set Vall Blanca Store with "Consolidate products in Buy template" = Yes
- Create ticket and add above all products with below quantities
- Cheese Cake 2
- Brownie 1
- Carbonara Pizza 2
Pay and Complete the ticket.
- Realize that local printer has 2 notification tickets with below product and quantities
- Ticket 1 - Cheese Cake Qty 2
- - Brownie Qty 1
- Ticket 2 - Carbonara Pizza Qty 2
- Set Vall Blanca Store with "Consolidate products in Prepare template" = No
- Realize that HWM A has 3 notification tickets with below product and quantities
- Ticket 1 - Cheese Cake Qty 1
- Ticket 2 - Cheese Cake Qty 1
- Ticket 3 - Brownie Qty 1
- Realize that HWM B has 2 notification tickets with below product and quantities
- Ticket 1 - Carbonara Pizza Qty 1
- Ticket 2 - Carbonara Pizza Qty 1
- Set Vall Blanca Store with "Consolidate products in Prepare template" = Yes
- Realize that HWM A has 2 notification tickets with below product and quantities
- Ticket 1 - Cheese Cake Qty 2
- Brownie Qty 1
- Realize that HWM B has 1 notification tickets with below product and quantities
- Ticket 1 - Carbonara Pizza Qty 2 |
|
|
(0132179)
|
hgbot
|
2021-10-06 07:46
|
|
|
|
(0132217)
|
hgbot
|
2021-10-07 07:07
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 55d6d65cdb3a96324feb8373d3f4ff9b6f399d76
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 2021-10-07T10:36:23+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/55d6d65cdb3a96324feb8373d3f4ff9b6f399d76 [^]
Fixes BUG-0047754: JIRA 707 - Product are grouped when "Consolidate"
is not checked
**In CompleteTicketAction preparation, payload has information
about consolidated as well as non consolidated products in
productNotifications object, this information is passed to
getLocalPrintNotifications func inorder to have proper notification
tickets as per consolidation flag set in Store.
**Unlike remote hardware manager notification tickets, hardware
manager wise separate tickets are created using buy templates.
---
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/CompleteTicketActionPreparation.js
M web-jspack/org.openbravo.pos2/src/services/pager/PagerUtils.js
---
|
|
|
(0132218)
|
hgbot
|
2021-10-07 07:07
|
|
|
|
(0132219)
|
hgbot
|
2021-10-07 07:07
|
|
|
|
(0132220)
|
hgbot
|
2021-10-07 07:07
|
|
|
|
(0132221)
|
hgbot
|
2021-10-07 07:07
|
|
|
|
(0132222)
|
hgbot
|
2021-10-07 07:07
|
|
|
|
(0132228)
|
hgbot
|
2021-10-07 07:42
|
|
|
|
(0132230)
|
hgbot
|
2021-10-07 09:14
|
|
|
|
(0132231)
|
hgbot
|
2021-10-07 09:14
|
|
|
|
(0132232)
|
hgbot
|
2021-10-07 09:14
|
|
|
|
(0132233)
|
hgbot
|
2021-10-07 09:14
|
|
|
|
(0137660)
|
hgbot
|
2022-05-24 09:31
|
|
|