Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0050732 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 07. Sales management | major | always | 2022-11-04 11:44 | 2022-11-18 09:33 | |||
Reporter | avicente | View Status | public | |||||
Assigned To | jlopez | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0050732: [OPECOM] Price exceptions overlapped created from Commercial Operation using Store Sets. | |||||||
Description | Two price exceptions overlapped (with the same organization, starting date and ending date are created) can be created from the Commercial Operation window using Store Sets. See image ERROR 2. | |||||||
Steps To Reproduce | 1. Login in https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/ [^] 2. Create a new 'Store Set 1' with the info in the image 'Store Set 1'. 3. Create a new 'Store Set 2' with the info in the image 'Store Set 2'. 4. Create a 'Commercial Operation' with the info in the image 'Commercial Operation'. 5. Click on 'Add Store', select 'Filter Type'='Sets of Stores', select 'Store Set 1' and 'Store Set 2' and click on 'Done'. ERROR 1: Two lines with the same organization, starting date and ending date are created. 6. In the tab 'Product Price', change the price for a product. 7. Click on 'Validate'. 8. Navigate to 'Price List || Price List Version || Product Price || Product Price with Exception' for the product for which the price was changed in step 6. ERROR 2: Two price exceptions with the same organization, starting date and ending date are created. | |||||||
Proposed Solution | - To add a new column called 'Store Set' in the in window/tab ‘Commercial Operation || Included Stores’. - When the user add stores to the OPECOM through the selection of Store Set, the new column 'Store Set' will be informed with the Store Set which the store belongs to. -If the user adds 2 store sets containing the same store, a warning is displayed to them saying “this store belongs to several sets of stores, it will be added only once in the list” and then add only one line in the Included Stores tab, related to the first store set selected + add the remaining stores of the second store set. | |||||||
Tags | FASH | |||||||
Attached Files | Commercial Operation.png [^] (122,095 bytes) 2022-11-04 11:45
Store Set 1.png [^] (105,973 bytes) 2022-11-04 11:45 Store Set 2.png [^] (101,727 bytes) 2022-11-04 11:46 Error 1.png [^] (135,968 bytes) 2022-11-04 11:46 Error 2.png [^] (121,399 bytes) 2022-11-04 11:46 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0143803) hgbot (developer) 2022-11-17 19:00 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations/-/merge_requests/27 [^] |
(0143815) hgbot (developer) 2022-11-18 09:33 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations [^] Changeset: 80f3866f103fbe656a931e1185408c253d8a37cb Author: Javier López <javier.lopez@precognis.com> Date: 18-11-2022 08:33:52 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations/-/commit/80f3866f103fbe656a931e1185408c253d8a37cb [^] Fixes ISSUE-50732: Price exceptions overlapped created from Commercial Operation using Store Sets Added a flush after saving the new commercial operation store. Thus, the event handler can validate the new commercial operation store with the ones added in the same and previous processes. --- M src/org/openbravo/commercialoperations/process/AddStoresForDateRangeProcess.java --- |
(0143816) hgbot (developer) 2022-11-18 09:33 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations/-/merge_requests/27 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2022-11-04 11:44 | avicente | New Issue | |
2022-11-04 11:44 | avicente | Assigned To | => Triage Omni OMS |
2022-11-04 11:44 | avicente | Modules | => Core |
2022-11-04 11:44 | avicente | Triggers an Emergency Pack | => No |
2022-11-04 11:45 | avicente | Tag Attached: FASH | |
2022-11-04 11:45 | avicente | File Added: Commercial Operation.png | |
2022-11-04 11:45 | avicente | File Added: Store Set 1.png | |
2022-11-04 11:46 | avicente | File Added: Store Set 2.png | |
2022-11-04 11:46 | avicente | File Added: Error 1.png | |
2022-11-04 11:46 | avicente | File Added: Error 2.png | |
2022-11-04 11:54 | aferraz | Assigned To | Triage Omni OMS => jlopez |
2022-11-04 11:56 | avicente | Proposed Solution updated | |
2022-11-10 13:01 | rafaroda | Proposed Solution updated | |
2022-11-10 18:30 | avicente | Proposed Solution updated | |
2022-11-17 19:00 | hgbot | Note Added: 0143803 | |
2022-11-18 09:33 | hgbot | Resolution | open => fixed |
2022-11-18 09:33 | hgbot | Status | new => closed |
2022-11-18 09:33 | hgbot | Note Added: 0143815 | |
2022-11-18 09:33 | hgbot | Note Added: 0143816 |
Copyright © 2000 - 2009 MantisBT Group |