Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0058162 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Copy Retail Store | minor | always | 2025-03-06 12:40 | 2025-03-21 09:56 | |||
Reporter | XABIER_AGUADO | View Status | public | |||||
Assigned To | Rajesh_18 | |||||||
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 | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0058162: Copy Retail Store doesnt copy all parameteres as expected. | |||||||
Description | When doing CRS, the new created store doesnt have the right values in some windows / fields. | |||||||
Steps To Reproduce | On livebuilds, do a CRS of Store 'Vall Blanca Store' and create a new store with name 'T000 - TEMPLATE' and Search Key 'T000' Once CRS is done, check the following parameters: Business Partner --> Name is 'T000 - VBS Customer' when it should be T000 - TEMPLATE Also, business partners should be created at the same level as the one in the original Store. I.E: Original Store has a Business Partner defined at legal entity, new BP should be created at legal entity too instead of at store level Channel TouchPoint --> Original Vall Blanca TouchPoint has Search Key 'VBS2-1' and name 'VBS2 POS Terminal'. Copied TouchPoint has Search key 'T0002-1' (OK) and name 'T0002-1' (KO). It should be 'T0002 POS Terminal' Channel TouchPoint --> Prefixes arent being copied. When creating prefixes for the new touchpoint CRS should: If no prefix exists leave it empty. If prefix exist, it should keep the same format as in the original store only updating the search key. I.E: Original Store Searcxh Key = VBS2-1 Original Store Simplified Invoice Sequence Prefix = VBS2-1SIMPINV T000 Store Search Key = T0002-1 Simplified Invoice Sequence Prefix should be ---> T0002-1SIMPINV | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|||||||||
|
![]() |
|
(0176720) hgbot (developer) 2025-03-12 13:10 |
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.copystore/-/merge_requests/96 [^] |
(0176721) hgbot (developer) 2025-03-12 13:11 |
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.copystore.giftcards/-/merge_requests/8 [^] |
(0177089) hgbot (developer) 2025-03-21 09:49 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.copystore [^] Changeset: 0d238ed05e1793327823cc0a11b48fcb0fcf5647 Author: Rajesh Senthilkumar <rajesh@qualiantech.com> Date: 21-03-2025 12:49:00 URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.copystore/-/commit/0d238ed05e1793327823cc0a11b48fcb0fcf5647 [^] Fixed ISSUE-58162: Refactored copying of prefix and anonymous bp name and organization * If the orginal store has termialSearchKey+Sequence prefix then it is replaced with newTerminalSearchKey+Sequence prefix * BP name is same as new organization name * If original BP organization is present in legal entity of new organization then the new BP is created in the orginal BP organization --- M src/org/openbravo/retail/copystore/process/CopyStoreProcess.java M src/org/openbravo/retail/copystore/process/DefaultPropertiesHandler.java --- |
(0177090) hgbot (developer) 2025-03-21 09:49 |
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.copystore [^] Changeset: 90992cada4681032875123ac204e6cd30ee11ee5 Author: Rajesh Senthilkumar <rajesh@qualiantech.com> Date: 21-03-2025 12:56:29 URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.copystore/-/commit/90992cada4681032875123ac204e6cd30ee11ee5 [^] Related to ISSUE-58162: Reverted the changes of anonymous BP searchkey, name and organization --- M src/org/openbravo/retail/copystore/process/CopyStoreProcess.java --- |
(0177091) hgbot (developer) 2025-03-21 09:49 |
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.copystore/-/merge_requests/96 [^] |
(0177092) hgbot (developer) 2025-03-21 09:49 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.copystore.giftcards [^] Changeset: b6a91664bcdd2d4764421e4b1bb9b3711edd7b75 Author: Rajesh Senthilkumar <rajesh@qualiantech.com> Date: 12-03-2025 17:31:14 URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.copystore.giftcards/-/commit/b6a91664bcdd2d4764421e4b1bb9b3711edd7b75 [^] Fixed ISSUE-58162: Original application has giftcard search key then it is replaced with new application search key --- M src/org/openbravo/retail/copystore/giftcards/DefaultGiftcardsPropertiesHandler.java --- |
(0177093) hgbot (developer) 2025-03-21 09:49 |
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.copystore.giftcards/-/merge_requests/8 [^] |
(0177102) marvintm (manager) 2025-03-21 09:56 |
We have implemented several changes proposed in this issue, but not all of them. After these fixes, now: - Prefixes for several sequences like cash up document number, of gift cards documents now work as proposed - Terminal name will also work as expected, the search key of the original organization will be replaced by the search key of the new organization - We have also removed some redundant code in the anonymous customer initialization. However, the following changes have not been implemented: - Customer name currently follows the rules originally defined, implemented as part of this issue: https://issues.openbravo.com/view.php?id=50680 [^] Specifically, the name of the original anonymous customer is picked, a "-" is searched, and if it exists, the left side is replaced by the search key of the new organization. If a new rule must be implemented, then it should be discussed first with Product Management - The organization in which the customer is created has also not been changed. Currently, the rule that is followed is: if the organization belongs to a cross-store structure, then the new anonymous customer is created at the root of the structure (to enable cross-store operations). Otherwise, it is created at store level. If this rule must be changed, then it should be discussed first with Product Management. |
![]() |
|||
Date Modified | Username | Field | Change |
2025-03-06 12:40 | XABIER_AGUADO | New Issue | |
2025-03-06 12:40 | XABIER_AGUADO | Assigned To | => Retail |
2025-03-06 12:40 | XABIER_AGUADO | File Added: CRS_1.png | |
2025-03-06 12:40 | XABIER_AGUADO | Triggers an Emergency Pack | => No |
2025-03-07 11:22 | XABIER_AGUADO | Steps to Reproduce Updated | View Revisions |
2025-03-10 07:31 | guillermogil | Severity | major => minor |
2025-03-10 07:36 | guillermogil | Relationship added | related to 0057842 |
2025-03-10 10:34 | migueldejuana | Status | new => scheduled |
2025-03-10 10:34 | migueldejuana | Assigned To | Retail => Rajesh_18 |
2025-03-12 13:10 | hgbot | Note Added: 0176720 | |
2025-03-12 13:11 | hgbot | Note Added: 0176721 | |
2025-03-21 09:49 | hgbot | Resolution | open => fixed |
2025-03-21 09:49 | hgbot | Status | scheduled => closed |
2025-03-21 09:49 | hgbot | Note Added: 0177089 | |
2025-03-21 09:49 | hgbot | Note Added: 0177090 | |
2025-03-21 09:49 | hgbot | Note Added: 0177091 | |
2025-03-21 09:49 | hgbot | Note Added: 0177092 | |
2025-03-21 09:49 | hgbot | Note Added: 0177093 | |
2025-03-21 09:56 | marvintm | Note Added: 0177102 |
Copyright © 2000 - 2009 MantisBT Group |