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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0044535
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajoralways2020-07-01 18:362020-09-29 16:24
ReporterpsarobeView Statuspublic 
Assigned Toprakashmurugesan88 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionRR20Q2SCM revision 
Review Assigned Toadrianromero
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0044535: Core backoffice - button to add products - Discount and Promotion window

DescriptionIn the Discount and Promotions window there is one button to add massively products. This product is shown in the toolbar (not the orange one) when the product sub-tab is selected. See image1

When you click it, a popup is shown where you can select Import Mode. See image2

The option "Import and Replace" works in a wrong way. It deletes all the previous products (if any) and put the new ones coming in the file.

This behaviour is wrong. It should:
- Deactivate all products that already exist inside the tab
- Create the new products that come in the file
- Update the products that were already in the tab and match with the ones coming in the file. Update means:
  - Activate them
  - Update the new values (Fix price, %, Amount)
Steps To Reproduce1. Go to Discount and Promotion window
2. Create a header, for example price adjustment discount type
3. Go to Product Tab. Notice that a new button appears in the toolbar
4. Click and open it.
5. Upload a file with some products. A,B,C,D
6. Select whatever import mode. It is not important because it is the first time

Expected result: A,B,C,D are inserted in the product tab

7. Upload another file with products C,D
8. Select the import mode: Import and Replace. Click OK

Expected result: A,B are deactivated. C, D remains active
Current result: A,B are not present anymore (this is WRONG). C, D remains active
TagsNOR
Attached Filespng file icon image1.PNG [^] (37,793 bytes) 2020-07-01 18:36


png file icon image2.PNG [^] (14,190 bytes) 2020-07-01 18:37

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0121418)
lmonreal (developer)
2020-07-13 15:34

Hello,

This case is also affecting Decathlon France, kindly please increase priority.
(0121436)
hgbot (developer)
2020-07-14 12:57

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/100 [^]
(0121446)
adrianromero (manager)
2020-07-14 16:51

https://gitlab.com/openbravo/product/openbravo/-/commit/e3373a3bbb134824dd4a7bddd22ef58d7604db7d [^]
https://gitlab.com/openbravo/product/openbravo/-/commit/39503d76359006f2da501ee27900d63088de5678 [^]
(0121447)
adrianromero (manager)
2020-07-14 16:51

Verified
(0121471)
guillermogil (manager)
2020-07-15 12:40

Issue is not complete.
It is needed to update updated column to let POS take them into account on the incremental criteria
(0121477)
hgbot (developer)
2020-07-15 14:09

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/104 [^]
(0121481)
hgbot (developer)
2020-07-15 16:25

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: b46b24bb71eeadfbdc9eee1ab9a74c858438fd42
Author: prakash-1040 <prakash@qualiantech.com>
Date: 2020-07-15T19:06:38+05:30
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/b46b24bb71eeadfbdc9eee1ab9a74c858438fd42 [^]

Fixed BUG-44535: Included update and updated columns to take into account on the incremental criteria

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/businesslogic/ImportBPSet.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/businesslogic/ImportProductInDiscount.java
---
(0121482)
hgbot (developer)
2020-07-15 16:25

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/104 [^]

- Issue History
Date Modified Username Field Change
2020-07-01 18:36 psarobe New Issue
2020-07-01 18:36 psarobe Assigned To => marvintm
2020-07-01 18:36 psarobe File Added: image1.PNG
2020-07-01 18:36 psarobe Triggers an Emergency Pack => No
2020-07-01 18:37 psarobe File Added: image2.PNG
2020-07-01 18:49 martinsdan Issue Monitored: martinsdan
2020-07-01 19:03 marvintm Resolution time => 1595368800
2020-07-06 08:13 marvintm Assigned To marvintm => Retail
2020-07-13 15:34 lmonreal Note Added: 0121418
2020-07-14 08:56 prakashmurugesan88 Assigned To Retail => prakashmurugesan88
2020-07-14 08:57 prakashmurugesan88 Status new => scheduled
2020-07-14 12:57 hgbot Note Added: 0121436
2020-07-14 16:51 adrianromero Note Added: 0121446
2020-07-14 16:51 adrianromero Status scheduled => resolved
2020-07-14 16:51 adrianromero Resolution open => fixed
2020-07-14 16:51 adrianromero Review Assigned To => adrianromero
2020-07-14 16:51 adrianromero Note Added: 0121447
2020-07-14 16:51 adrianromero Status resolved => closed
2020-07-14 16:59 lmonreal Relationship added blocks 0044608
2020-07-15 12:40 guillermogil Note Added: 0121471
2020-07-15 12:40 guillermogil Status closed => new
2020-07-15 12:40 guillermogil Resolution fixed => open
2020-07-15 14:09 hgbot Note Added: 0121477
2020-07-15 16:25 hgbot Resolution open => fixed
2020-07-15 16:25 hgbot Status new => closed
2020-07-15 16:25 hgbot Note Added: 0121481
2020-07-15 16:25 hgbot Note Added: 0121482
2020-09-29 16:24 rafaroda Tag Attached: NOR


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker