Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051485Retail ModulesDiscounts and Promotionspublic2023-01-27 13:502023-02-13 07:32
0051485: [PROMO] - Column ‘Stocked’ must be set to be empty by default for "Free product subtab" filter
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". It must not be set by default to "Y" nor "N".

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, 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".

5- Now, go to the magnifying glass and search for the same product. The products appear, but there is an automatic filter Stocked=N.

6- We want no filter in the column, it should not be set to neither "Y" or "N"
Objective: Remove the default filter → NO filter must be set for this column, it must be automatically set to empty.
No tags attached.
related to defect 0050827 closed ranjith_qualiantech_com [PROMO] - Free product per total amount: Remove the filter by default in "Free product" subtab 
png 2023-01-27_13h48_26.png (197,054) 2023-01-27 13:50
Issue History
2023-01-27 13:50LcazauxNew Issue
2023-01-27 13:50LcazauxAssigned To => Retail
2023-01-27 13:50LcazauxFile Added: 2023-01-27_13h48_26.png
2023-01-27 13:50LcazauxTriggers an Emergency Pack => No
2023-02-01 14:23radhakrishnanAssigned ToRetail => radhakrishnan
2023-02-01 14:23radhakrishnanStatusnew => scheduled
2023-02-03 05:33hgbotNote Added: 0146193
2023-02-08 11:44rafarodaRelationship addedrelated to 0050827
2023-02-13 07:32hgbotResolutionopen => fixed
2023-02-13 07:32hgbotStatusscheduled => closed
2023-02-13 07:32hgbotNote Added: 0146404
2023-02-13 07:32hgbotFixed in Version => PR23Q2
2023-02-13 07:32hgbotNote Added: 0146405

2023-02-03 05:33   
Merge Request created: [^]
2023-02-13 07:32   
Merge request merged: [^]
2023-02-13 07:32   
Directly closing issue as related merge request is already approved.

Repository: [^]
Changeset: 4b7d7128ca6c96c08dc40bbd2dc42649784b880f
Author: Radhakrishnan Seeman <>
Date: 13-02-2023 06:32:29
URL: [^]

Fixed ISSUE-51485: Default filter of stock should be empty
* While searching a product in discount and promotion window, the default filter
  of stock should be empty

M src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml