Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051029
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Commercial Operationsmajoralways2022-11-29 11:022022-12-22 12:28
ReporternoemierousselView Statuspublic 
Assigned Tojlopez 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0051029: 0051027: [OPCOM] End date can be in the past when starting date in the past

DescriptionWhen the OPECOM starts before today, it is possible to select an ending date in the past.
Steps To ReproduceWe are the 29/11.

1-Create a new OPECOM with starting date=21/11, ending date=26/11 for example
--> KO, it is possible to save

It must be impossible either for an OPECOM creation or for an OPECOM updating
TagsNo tags attached.
Attached Filespng file icon ending date in the past.png [^] (141,276 bytes) 2022-11-29 11:07

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0050501 closedyogaskarnik Retail Modules [OPECOM] End date could be <= start date and should be >= sysdate (today) 
related to defect 0051027 closedjlopez Modules [OPCOM] Start date and end date can be equal or higher || store level 

-  Notes
(0144830)
hgbot (developer)
2022-12-20 09:58

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations/-/merge_requests/34 [^]
(0144863)
hgbot (developer)
2022-12-21 09:47

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations/-/merge_requests/34 [^]
(0144864)
hgbot (developer)
2022-12-21 09:47

Directly closing issue as related merge request is already approved.

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

Fixes ISSUE-51029: Ending date must be greater than or equal to today's date

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/commercialoperations/events/CommercialOperationEventHandler.java
---
(0144927)
hgbot (developer)
2022-12-22 12:28

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations [^]
Changeset: 2ff3e65eb7902bc1647cf535c74a96b858264794
Author: Álvaro Ferraz <alvaro.ferraz@openbravo.com>
Date: 22-12-2022 12:28:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations/-/commit/2ff3e65eb7902bc1647cf535c74a96b858264794 [^]

Related to ISSUE-51029: Fix tests

---
M src-test/org/openbravo/commercialoperations/util/CommercialOperationTestConstants.java
---

- Issue History
Date Modified Username Field Change
2022-11-29 11:02 noemieroussel New Issue
2022-11-29 11:02 noemieroussel Assigned To => Triage Omni OMS
2022-11-29 11:07 noemieroussel File Added: ending date in the past.png
2022-11-29 11:07 noemieroussel Steps to Reproduce Updated View Revisions
2022-11-29 11:14 rafaroda Relationship added related to 0050501
2022-11-29 12:35 Lcazaux Steps to Reproduce Updated View Revisions
2022-11-29 19:16 aferraz Assigned To Triage Omni OMS => jlopez
2022-12-02 14:56 aferraz Relationship added related to 0051027
2022-12-20 09:58 hgbot Note Added: 0144830
2022-12-21 09:47 hgbot Note Added: 0144863
2022-12-21 09:47 hgbot Resolution open => fixed
2022-12-21 09:47 hgbot Status new => closed
2022-12-21 09:47 hgbot Note Added: 0144864
2022-12-22 12:28 hgbot Note Added: 0144927


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker