Openbravo Issue Tracking System - Modules
View Issue Details
0051027ModulesCommercial Operationspublic2022-11-29 09:062022-12-21 09:48
noemieroussel 
jlopez 
highmajoralways
closedfixed 
5
 
 
0051027: [OPCOM] Start date and end date can be equal or higher || store level
In an OPECOM, it is possible to have a store with an ending date in the past, in the case of ending date included in the OPECOM period.
1-Create a new OPECOM with starting date=21/11, ending date=04/12 for example.

2-In the subtab "Included store", add a store.

3-Add a store and put Starting date today and ending date 14/11 -> OK there is an error message

4-Then, add a store with starting date=21/11 and ending date=24/11 -> KO it is possible to save the record, but the ending date is in the past as we are the 29/11
It is impossible to put an ending date in the past in the "Included Stores" subtab.
FASH
related to defect 0051029 closed jlopez 0051027: [OPCOM] End date can be in the past when starting date in the past 
Issue History
2022-11-29 09:06noemierousselNew Issue
2022-11-29 09:06noemierousselAssigned To => Triage Omni OMS
2022-11-29 09:06noemierousselTag Attached: FASH
2022-11-29 10:47noemierousselTypedefect => design defect
2022-11-29 19:17aferrazAssigned ToTriage Omni OMS => jlopez
2022-12-02 14:56aferrazRelationship addedrelated to 0051029
2022-12-20 13:45hgbotNote Added: 0144838
2022-12-21 09:46aferrazSeverityminor => major
2022-12-21 09:46aferrazTypedesign defect => defect
2022-12-21 09:48hgbotResolutionopen => fixed
2022-12-21 09:48hgbotStatusnew => closed
2022-12-21 09:48hgbotNote Added: 0144865
2022-12-21 09:48hgbotNote Added: 0144866

Notes
(0144838)
hgbot   
2022-12-20 13:45   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations/-/merge_requests/35 [^]
(0144865)
hgbot   
2022-12-21 09:48   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations [^]
Changeset: 50c81979604d6e038dec7496b4248dbcf69e4260
Author: Javier López <javier.lopez@precognis.com>
Date: 21-12-2022 08:48:52
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations/-/commit/50c81979604d6e038dec7496b4248dbcf69e4260 [^]

Fixes ISSUE-51027: Ending date in the subtab 'Included Store' must be greater than or equal to today's date

---
M src/org/openbravo/commercialoperations/events/CommercialOperationStoreEventHandler.java
---
(0144866)
hgbot   
2022-12-21 09:48   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations/-/merge_requests/35 [^]