Openbravo Issue Tracking System - Retail Modules
View Issue Details
0050025Retail ModulesDiscounts and Promotionspublic2022-08-23 08:432022-08-23 10:47
igor_trebol 
igor_trebol 
normalminorhave not tried
closedfixed 
5
 
RR22Q4 
jorge-garcia
No
0050025: Add date check to M_Offer
Add a check to table M_Offer so the initial date is always before the end date (or the same day at least).

If the starting date of the promotion is after the ending date, the promotion makes no sense.
NA
No tags attached.
related to defect 0049764 closed igor_trebol Openbravo ERP In discount and promotion, prevent select an end date < start date 
Issue History
2022-08-23 08:43igor_trebolNew Issue
2022-08-23 08:43igor_trebolAssigned To => Retail
2022-08-23 08:43igor_trebolTriggers an Emergency Pack => No
2022-08-23 08:44igor_trebolAssigned ToRetail => igor_trebol
2022-08-23 08:44igor_trebolStatusnew => scheduled
2022-08-23 09:23igor_trebolDescription Updatedbug_revision_view_page.php?rev_id=24646#r24646
2022-08-23 09:29igor_trebolRelationship addedrelated to 0049764
2022-08-23 09:32igor_trebolDescription Updatedbug_revision_view_page.php?rev_id=24649#r24649
2022-08-23 09:34igor_trebolDescription Updatedbug_revision_view_page.php?rev_id=24650#r24650
2022-08-23 10:37jorge-garciaNote Added: 0140306
2022-08-23 10:44hgbotResolutionopen => fixed
2022-08-23 10:44hgbotStatusscheduled => resolved
2022-08-23 10:44hgbotNote Added: 0140309
2022-08-23 10:46jorge-garciaReview Assigned To => jorge-garcia
2022-08-23 10:46jorge-garciaStatusresolved => closed
2022-08-23 10:46jorge-garciaFixed in Version => RR22Q4
2022-08-23 10:47jorge-garciaNote Added: 0140311

Notes
(0140306)
jorge-garcia   
2022-08-23 10:37   
Created MR https://gitlab.com/openbravo/ci/backoffice-api/-/merge_requests/30 [^]
(0140309)
hgbot   
2022-08-23 10:44   
Repository: https://gitlab.com/openbravo/ci/backoffice-api [^]
Changeset: 13cf6b2f71005d4dc6b12f65a00d3b4493c279be
Author: Igor Trebol <igor.trebol@openbravo.com>
Date: 23-08-2022 10:38:51
URL: https://gitlab.com/openbravo/ci/backoffice-api/-/commit/13cf6b2f71005d4dc6b12f65a00d3b4493c279be [^]

Fixes ISSUE-50025: Adds date check to M_Offer

---
M model/src-db/database/model/tables/M_OFFER.xml
---
(0140311)
jorge-garcia   
2022-08-23 10:47   
Update API change

http://wiki.openbravo.com/wiki/API_changes [^]