Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0034223 | Openbravo ERP | 07. Sales management | public | 2016-10-17 18:19 | 2016-11-28 20:35 |
|
Reporter | egoitz | |
Assigned To | collazoandy4 | |
Priority | urgent | Severity | minor | Reproducibility | have not tried |
Status | scheduled | Resolution | open | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | aferraz |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0034223: It is possible to add two lines with the same line number on the sales/purchase orders |
Description | When inserting lines in grid view you can insert two lines (or more) with the same line number. |
Steps To Reproduce | -Add a sales order header
-On grid view add a line (see that number line 10) is inserted.
-Fill all the mandatory fields and use the down arrow to crate a new line
-The new line is created with line number 20.
-If you click again the drow arrow key without filling any field a new line is also create with 20 line number.
-The previous one is keep as error but you can save it later.
The same behaviour happens on the header but the documentno is updated when saving if you have not modify it.
|
Proposed Solution | Use the line numbers on the same way than documentno, so in case that you don't modify it is is automatically increased when needed.
|
Additional Information | |
Tags | No tags attached. |
Relationships | duplicate of | defect | 0034198 | | closed | platform | Duplicated line numbers in PO and SO |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-10-17 18:19 | egoitz | New Issue | |
2016-10-17 18:19 | egoitz | Assigned To | => Triage Finance |
2016-10-17 18:19 | egoitz | Modules | => Core |
2016-10-17 18:19 | egoitz | Resolution time | => 1478214000 |
2016-10-17 18:19 | egoitz | Triggers an Emergency Pack | => No |
2016-10-20 19:18 | aferraz | Assigned To | Triage Finance => markmm82 |
2016-10-20 20:25 | markmm82 | Status | new => scheduled |
2016-10-25 16:49 | markmm82 | Note Added: 0090876 | |
2016-10-25 18:29 | aferraz | Review Assigned To | => aferraz |
2016-10-25 18:29 | aferraz | Relationship added | duplicate of 0034198 |
2016-10-25 18:29 | aferraz | Status | scheduled => closed |
2016-10-25 18:29 | aferraz | Resolution | open => duplicate |
2016-11-21 10:31 | egoitz | Assigned To | markmm82 => Triage Finance |
2016-11-21 10:31 | egoitz | Note Added: 0091690 | |
2016-11-21 10:31 | egoitz | Status | closed => new |
2016-11-21 10:31 | egoitz | Resolution | duplicate => open |
2016-11-21 12:37 | aferraz | Severity | major => minor |
2016-11-21 12:37 | aferraz | Type | defect => design defect |
2016-11-21 12:48 | aferraz | Note Added: 0091694 | |
2016-11-28 20:04 | collazoandy4 | Assigned To | Triage Finance => collazoandy4 |
2016-11-28 20:35 | collazoandy4 | Status | new => scheduled |
Notes |
|
|
Test Plan:
1. Add a sales order header for Alimentos y Supermercado S.A bp.
2. On grid view add a line (first line)
Check that line number 10 is inserted before and after save.
3. Right clic in the grid and select "Insert row" action (Also you can do that with Ctrl+i shortcut) to create a new line (second line).
Notice that the new line is created with line number 20. Do not fill all mandatory fields.
4. Click again to Insert a new row without filling any field of the previous line, a new line is also created with the same 20 line number (third line).
The previous one is keep as error but you can save it later.
5. Fill all the mandatory fields of the last line. Notice it is saved with line number: 20.
6. Go to the second line, and see it is showing as error and linenumbe remains the same: 20. Fill all the mandatory fields and let the line number as 20. Save the line.
Notice that line number is updated to 30 when saving if you have not modify it.
Repeat the test plan above for purchase workflow. |
|
|
(0091690)
|
egoitz
|
2016-11-21 10:31
|
|
Using the insert row option after click with the right button on the grid is not consistent.
If you use the new in grid view toolbar button the problem is reproducible.
Using the arrows as explained on the steps to reproduce also reproduced the problem. |
|
|
|
Moved to minor as user should force the system in order to get a wrong line number.
Moved to design defect as problem does not happen only in Sales/Purchase Order windows but in any tab with a Line No. field.
Proposed solution: we should add an Event Handler same as SetDocumentNoHandler in order to re-check assigned line number when saving/updating any entity with a lineno property. |
|