Openbravo Issue Tracking System - Retail Modules
View Issue Details
0050827Retail ModulesDiscounts and Promotionspublic2022-11-10 12:452023-02-08 11:44
noemieroussel 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR23Q1 
No
0050827: [PROMO] - Free product per total amount: Remove the filter by default in "Free product" subtab
In the backoffice, while configuring a promotion type "Free product per total amount", the free product has to be added through the "Free product subtab".

However, there is a filter by default in "Stock=Y", that prevent the display of all the products and services allowed.

Objective: Remove the default filter "Stocked=Y".
Video of the current behavior: https://drive.google.com/file/d/1164xmAMAsa2Y3D2XziUmi00fobySxCKl/view?usp=sharing [^]


1-Go to the backoffice.

2-Create a new promotion in "Discounts and promotion" window, type:"Free product per total amount".

3-Configure as usual the promotion with a name, starting date, min. amount, percentage discounted, gift reminder notification checked...

4-Go to the "Free product" subtab and try to add a product with Product type=Service (for example: Sports Accident Insurance) by typing the name in the field "Product". --> See through the screenshot, that it does not appear in the list

5- Now, go to the magnifying glass and search for the same product. See it does not appear neither because there is the filter Stocked=Y.

6- Finally, remove the filter and search for your product: now it appears and can be selected.
->All of the items and services are directly available from the "Free Product" subtab

Remove the default filter "Stocked=Y".
FASH
related to defect 0051485 closed radhakrishnan [PROMO] - Column ‘Stocked’ must be set to be empty by default for "Free product subtab" filter 
png 2022-11-10.png (270,323) 2022-11-10 12:45
https://issues.openbravo.com/file_download.php?file_id=17790&type=bug
Issue History
2022-11-10 12:45noemierousselNew Issue
2022-11-10 12:45noemierousselAssigned To => Retail
2022-11-10 12:45noemierousselFile Added: 2022-11-10.png
2022-11-10 12:45noemierousselTriggers an Emergency Pack => No
2022-11-10 12:52noemierousselTag Attached: FASH
2022-11-11 11:50avicenteSeverityminor => major
2022-11-11 11:50avicenteTypedesign defect => defect
2022-11-14 06:21ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2022-11-14 06:22ranjith_qualiantech_comStatusnew => scheduled
2022-11-16 06:27hgbotNote Added: 0143642
2022-12-05 08:08hgbotNote Added: 0144397
2022-12-05 08:08hgbotResolutionopen => fixed
2022-12-05 08:08hgbotStatusscheduled => closed
2022-12-05 08:08hgbotFixed in Version => RR23Q1
2022-12-05 08:08hgbotNote Added: 0144398
2023-02-08 11:44rafarodaRelationship addedrelated to 0051485

Notes
(0143642)
hgbot   
2022-11-16 06:27   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/73 [^]
(0144397)
hgbot   
2022-12-05 08:08   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/73 [^]
(0144398)
hgbot   
2022-12-05 08:08   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: 5f321bc86495d3cde08fd45dad59ac2fe52fafd6
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 05-12-2022 07:07:52
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/5f321bc86495d3cde08fd45dad59ac2fe52fafd6 [^]

Fixed ISSUE-50827: Added IsSoTrx as No in FreeProduct tab of discount window
* If IsSoTrx is set as "N", then product will be filtered by "stocked" as false

---
A src-db/database/sourcedata/AD_AUXILIARINPUT.xml
---