Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051904Retail ModulesDiscounts and Promotionspublic2023-03-17 13:502023-06-20 08:20
Lcazaux 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
 
No
0051904: Dates are left empty when searching via “Add Organization button” in Discount&Promo
A story was raised and delivered to the client to have a new functionality that allows the automatics filling of dates when adding an Organization in a promo so that: dates of organization = dates of promo (editable if needed).

Yet, this functionality is not working when adding via "Add Organizations" button, but is working via the Org subtab.

https://drive.google.com/file/d/1i4v_2GAyzhYl-ftG7BUfXQAN5Q0XFk1P/view [^]
Go to livebuild
- discount and promo
- organization filter to only those defined
- add a starting and ending date to the promo
- click "Add Organizations" button
- select an Org
- click ok
--> no dates are entered
For ‘Organization’ in Discounts and Promotion, default value should be the ones defined on header
FASH
related to defect 0050441 closed jlopez Start/End Date in Discounts: missing requirements 
Issue History
2023-03-17 13:50LcazauxNew Issue
2023-03-17 13:50LcazauxAssigned To => Retail
2023-03-17 13:50LcazauxTriggers an Emergency Pack => No
2023-03-17 13:50LcazauxTag Attached: FASH
2023-04-11 07:26ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-04-11 10:22ranjith_qualiantech_comRelationship addedrelated to 0050441
2023-04-11 10:52ranjith_qualiantech_comStatusnew => scheduled
2023-04-11 14:35hgbotNote Added: 0148360
2023-06-20 08:20hgbotResolutionopen => fixed
2023-06-20 08:20hgbotStatusscheduled => closed
2023-06-20 08:20hgbotNote Added: 0151346
2023-06-20 08:20hgbotFixed in Version => PR23Q3
2023-06-20 08:20hgbotNote Added: 0151347

Notes
(0148360)
hgbot   
2023-04-11 14:35   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/854 [^]
(0151346)
hgbot   
2023-06-20 08:20   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/854 [^]
(0151347)
hgbot   
2023-06-20 08:20   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: c330b644336b8ecf01dd551455a3ccb7fbb5986e
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 20-06-2023 06:19:51
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/c330b644336b8ecf01dd551455a3ccb7fbb5986e [^]

Fixed ISSUE-51904: Discount Filter Organization should be created with dates
* In Discount & promotion window, When adding Organization through "Add Organization" popup
  OrganizationFilter should be created with discount dates

---
M src/org/openbravo/common/actionhandler/OfferPickOrgActionHandler.java
---