Openbravo Issue Tracking System - POS2
View Issue Details
0049481POS2Restaurantspublic2022-06-06 02:002022-06-23 16:02
mmohammad 
mtaal 
normalcriticalhave not tried
closedopen 
5
 
 
No
0049481: FLUN-3057 Counter and coupon product - only one coupon for several quantity
For the restaurant project, it is necessary to print 1 coupon by product. A counter or coupon product must be printed as many time as the selected quantity .

For example : steak haché f bouchere is a counter product . I choose a quantity of 3.
When I pay my order , I expect to have three coupons. But here, I have only one coupon with a quantity of 3.

The same behavior has to be applied for coupon product.



Go to webpos and choose steack haché facon bouchere 3 times.
Go to payment and pay totally.
Expected result : 3 coupons are delivered
Obtained result : 1 coupon is delivered with a quantity of 3
No tags attached.
Issue History
2022-06-06 02:00mmohammadNew Issue
2022-06-06 02:00mmohammadAssigned To => Retail
2022-06-06 02:00mmohammadTriggers an Emergency Pack => No
2022-06-17 10:20timothee_catteeuwNote Added: 0138486
2022-06-17 10:23timothee_catteeuwSummaryFLUN-3057 Counter product - only one coupon for several quantity => FLUN-3057 Counter and coupon product - only one coupon for several quantity
2022-06-17 10:23timothee_catteeuwDescription Updatedbug_revision_view_page.php?rev_id=24305#r24305
2022-06-21 08:59mtaalAssigned ToRetail => mtaal
2022-06-23 16:02mtaalNote Added: 0138701
2022-06-23 16:02mtaalStatusnew => closed

Notes
(0138486)
timothee_catteeuw   
2022-06-17 10:20   
Solution proposed by Martin which can be implemented by adding this new field.

Okay something can be done in the code to accomodate this:

it will only work for coupon printing (not for pager webservice requests).

We will add a new field in the delivery control or the delivery control type which says something like: ‘Print Mode' which can have 2 values: 'Multiple on one coupon', 'Single per coupon'. The default is the first option or if not set will be the first option.

This will also work for pager products being coupon printed but not for the pager request.

This will also work for compteur products being coupon printed.

It will only work for line based consolidation (as only then we have one product on the coupon).
(0138701)
mtaal   
2022-06-23 16:02   
Other solution works: use consolidation unit, no need for changes in the code at this time