Openbravo Issue Tracking System - Retail Modules
View Issue Details
0046218Retail ModulesDiscounts and Promotionspublic2021-04-06 14:102021-04-29 07:04
lbressan 
rqueralta 
urgentmajoralways
closedno change required 
5
RR19Q4.4 
 
marvintm
No
0046218: Problems adding PACK type promotions and products in the POS with different price list version
In PACK-type promotions in which the products that comprise it are not in the price list used by the POS, when you want to select them in the POS there is no effect. If products continue to be added to the ticket (after having selected the promotion), both the Total of the lines and that of the ticket, both are always 0. This problem is caused by this type of promotions that have the problem mentioned above.
It should be added that this happens when a pack promotion is selected in the ticket, what I mean by this is that if a promotion of this type is selected first and then other products are added to the current ticket, the problem is clearly reflected. But also if products are added to the ticket first, they will be added in a normal way in which the amount of the line is correct and the total amount of the ticket is also, but if a pack-type promotion is added in the middle in which some of its component is not in the price list that the POS uses directly, the total of the lines such as the ticket is 0. THIS HAPPENS WHEN A PACK-TYPE PROMOTION IS ADDED THAT HAS THIS PROBLEM, IT DOESN'T MATTER THE ORDER, WHAT IT MATTERS THAT ONE OF THESE IS ADDED AT SOME TIME IN THE TICKET.
Open BACKEND and POS for Openbravo 3.0RR19Q4.4
Go to "Discounts and Promotions" window.
Select a pack type promotion, for example "Camping Pack".
Go to Products tab.
Select a Product.
Go to the corresponding POS Price List Version.
Delete the selected Product from the corresponding Price List Version.
Go to the POS.
Force a Full Data Load in the POS.
On a ticket (with or without previous lines), try to add the selected pack type promotion. The add will not work.
Add any other product to the same ticket. All the totals will be 0, those of the lines and those of the ticket.


No tags attached.
patch 0001-Fixed-BUG-46218-Set-skipApplyPromotions-to-false.patch (925) 2021-04-09 22:17
https://issues.openbravo.com/file_download.php?file_id=15519&type=bug
Issue History
2021-04-06 14:10lbressanNew Issue
2021-04-06 14:10lbressanAssigned To => Retail
2021-04-06 14:10lbressanResolution time => 1619474400
2021-04-06 14:10lbressanTriggers an Emergency Pack => No
2021-04-06 17:32rqueraltaAssigned ToRetail => rqueralta
2021-04-06 17:32rqueraltaStatusnew => scheduled
2021-04-09 22:17rqueraltaFile Added: 0001-Fixed-BUG-46218-Set-skipApplyPromotions-to-false.patch
2021-04-29 07:04marvintmReview Assigned To => marvintm
2021-04-29 07:04marvintmNote Added: 0127630
2021-04-29 07:04marvintmStatusscheduled => closed
2021-04-29 07:04marvintmResolutionopen => no change required

Notes
(0127630)
marvintm   
2021-04-29 07:04   
Issue doesn't apply to latest releases. A patch with a fix for earlier releases has been attached.