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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050306
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[POS2] POSminorhave not tried2022-09-22 00:282022-10-03 20:16
ReporterjlopezView Statuspublic 
Assigned Tojlopez 
PrioritynormalResolutionfixedFixed in Version23Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0050306: [PROMO] Start/End Date in the tab 'Discount and Promotions || Store Set'

DescriptionCreate 2 new optional fields/columns in the Store Set Tab in the Discounts and promotions window named ‘Starting Date’ and ‘Ending Date’.
These new parameters should be taken into account when executing the logic in the Discounts and promotions engine.

When defining the Store Set filters:
* In Apply to Store Set included in the list:
  - If the Starting Date and Ending Date are empty: The discount applies only to the store set selected in the list.
  - If Starting Date has a value: The discount applies only to the store set selected in the list but only in dates after the starting date.
  - If Ending Date has a value: The discount applies only to the store set selected in the list but only in dates before the ending date.
  - If both date fields have value: The discount applies only to the store set selected in the list but only in dates after the starting date and before the ending date.
* In Apply to all Store Set excluding the ones in the list:
  - If the Starting Date and Ending Date are empty: The discount applies to all store sets except the ones selected in the list.
  - If Starting Date has a value: The discount applies only to the store sets and the ones included in the list are excluded but only for dates after the starting date.
  - If Ending Date has a value: The discount applies only to the store sets and the ones included in the list are excluded but only for dates before the ending date
  - If both date fields have value: The discount applies only to the store sets and the ones included in the list are excluded but only for dates after the starting date and before the ending date.

https://openbravo.atlassian.net/browse/RM-1567 [^]
Steps To Reproduce*
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on feature request 0050275 closedjlopez Retail Modules [PROMO] Start/End Date in the tab 'Discount and Promotions || Organization' 

-  Notes
(0141294)
hgbot (developer)
2022-09-22 00:58

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1227 [^]
(0141603)
hgbot (developer)
2022-10-03 20:16

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: c546d8b887cf8baf9bf22ae19dde21344035f594
Author: Javier López <javier.lopez@precognis.com>
Date: 03-10-2022 20:15:56
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/c546d8b887cf8baf9bf22ae19dde21344035f594 [^]

Fixes FR-50306: Start/End Date in the tab 'Discount and Promotions || Store Set'

MR: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1227 [^]

---
M src-db/database/model/tables/OBPOS2_STORE_SET_M_OFFER.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-test/org/openbravo/pos2/process/StorePerimeterReportTest.java
M src/org/openbravo/pos2/master/DiscountFilterStoreSet.java
M src/org/openbravo/pos2/process/StorePerimeterReport.java
M web-jspack/org.openbravo.pos2/src/core/discount/__test__/initDiscountsCache.test.js
M web-jspack/org.openbravo.pos2/src/core/discount/initDiscountsCache.js
---
(0141604)
hgbot (developer)
2022-10-03 20:16

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1227 [^]

- Issue History
Date Modified Username Field Change
2022-09-22 00:28 jlopez New Issue
2022-09-22 00:28 jlopez Assigned To => jlopez
2022-09-22 00:28 jlopez Triggers an Emergency Pack => No
2022-09-22 00:58 hgbot Note Added: 0141294
2022-10-03 14:36 jlopez Relationship added depends on 0050275
2022-10-03 20:16 hgbot Resolution open => fixed
2022-10-03 20:16 hgbot Status new => closed
2022-10-03 20:16 hgbot Fixed in Version => 23Q1
2022-10-03 20:16 hgbot Note Added: 0141603
2022-10-03 20:16 hgbot Note Added: 0141604


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker