Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0053213Openbravo ERP04. Warehouse managementpublic2023-08-14 13:102023-09-04 09:37
agusti_gallego 
agusti_gallego 
normalminorhave not tried
closedfixed 
5
 
PR23Q4 
approved
No
Core
No
0053213: [Stock take] [Import] No error when the csv file imported contains duplicated lines
There is no error when importing a file with duplicated lines.
1. Go to window ‘Physical Inventory’.
2. Create a physical inventory of type Total.
3. Click on ‘Export to CSV’ and check ‘Create Inventory Count list automatically’. Lines are created for products with stock and CSV is downloaded
4.On the CSV exported, duplicate a line and add different quantities counted
5. Import the csv file in the physical inventory with ‘Import Error Handling’ = ‘Stop on Error’. No error is displayed and the quantity counted is the one of the last line. Same if ‘Import Error Handling’ = ‘Continue on Error’
No tags attached.
Issue History
2023-08-14 13:10agusti_gallegoNew Issue
2023-08-14 13:10agusti_gallegoAssigned To => agusti_gallego
2023-08-14 13:10agusti_gallegoOBNetwork customer => No
2023-08-14 13:10agusti_gallegoModules => Core
2023-08-14 13:10agusti_gallegoTriggers an Emergency Pack => No
2023-08-14 14:37hgbotMerge Request Status => open
2023-08-14 14:37hgbotNote Added: 0153488
2023-09-04 09:37hgbotMerge Request Statusopen => approved
2023-09-04 09:37hgbotNote Added: 0154371
2023-09-04 09:37hgbotResolutionopen => fixed
2023-09-04 09:37hgbotStatusnew => closed
2023-09-04 09:37hgbotFixed in Version => PR23Q4
2023-09-04 09:37hgbotNote Added: 0154372

Notes
(0153488)
hgbot   
2023-08-14 14:37   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/970 [^]
(0154371)
hgbot   
2023-09-04 09:37   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/970 [^]
(0154372)
hgbot   
2023-09-04 09:37   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: c21ef84796b2f3637c07e94699835548e038a2f9
Author: Agustí Gállego <agusti.gallego@openbravo.com>
Date: 01-09-2023 15:08:27
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/c21ef84796b2f3637c07e94699835548e038a2f9 [^]

Fixed ISSUE-53213: Duplicate lines in a CSV file now cause an error

---
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml
M modules/org.openbravo.client.application/src/org/openbravo/client/application/businesslogic/ImportInventoryLines.java
---