Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038881Openbravo ERP07. Sales managementpublic2018-06-25 20:142018-07-13 11:06
gsuarez 
AtulOpenbravo 
immediateminoralways
closedfixed 
5
3.0PR18Q1.3 
3.0PR18Q33.0PR18Q3 
Sandrahuguet
Core
Production - Confirmed Stable
2017-10-23
3.0PR18Q1
https://code.openbravo.com/erp/devel/pi/rev/f309cc3e47a9f30cc689198b1bedeffef9f181e2 [^]
Yes
0038881: Error: Copy from Order it does not work properly
The "Copy from Order" process in the "Sales Order" window does not work properly:
* The line numbers do not match the numbers of the copied order.
* The quantities of some products are not the same as those of the copied order.
* The descriptions of all the lines are not the same as the original order lines
Steps:

1.Windows: Sales Order
                      1.1 Create new sales order
                      1.2 select "Copy from Order"
                      1.3 select sales order with many lines (40 or more lines of many sales orders) and
                          with consecutive numbers of lines like 21 22 23 .... 60.
2.the process it does not work correctly, the quantities are not the same and the sequence numbers either.

Error detected in the class: copyFromOrdersProcess.


In PR17Q4 works but en 18Q1 or major not work properly.
No tags attached.
blocks defect 0038832 closed AtulOpenbravo Error: Copy from Order it does not work properly 
Issue History
2018-07-03 10:32SandrahuguetTypedefect => backport
2018-07-03 10:32SandrahuguetTarget Version => 3.0PR18Q3
2018-07-13 11:04SandrahuguetNote Added: 0105732
2018-07-13 11:04SandrahuguetNote Added: 0105733
2018-07-13 11:04SandrahuguetNote Added: 0105734
2018-07-13 11:05SandrahuguetStatusscheduled => resolved
2018-07-13 11:05SandrahuguetFixed in Version => 3.0PR18Q3
2018-07-13 11:05SandrahuguetFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR18Q3/rev/bcae561e9da8c5c55f16a6e181bd8acbbc0e1752 [^]
2018-07-13 11:05SandrahuguetResolutionopen => fixed
2018-07-13 11:06SandrahuguetReview Assigned To => Sandrahuguet
2018-07-13 11:06SandrahuguetNote Added: 0105735
2018-07-13 11:06SandrahuguetStatusresolved => closed

Notes
(0105732)
Sandrahuguet   
2018-07-13 11:04   
Repository: erp/backports/3.0PR18Q3
Changeset: bcae561e9da8c5c55f16a6e181bd8acbbc0e1752
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Thu Jun 28 15:29:50 2018 +0530
URL: http://code.openbravo.com/erp/backports/3.0PR18Q3/rev/bcae561e9da8c5c55f16a6e181bd8acbbc0e1752 [^] [^]

Fixes Issue 38883:Copy from Order it does not copy line description

Order Line description was wrongly set from Order description,
it will be set from Order Line from which the new Order Line
is created.

---
M src/org/openbravo/common/actionhandler/copyfromorderprocess/UpdateOrderLineInformation.java
(0105733)
Sandrahuguet   
2018-07-13 11:04   
Repository: erp/backports/3.0PR18Q3
Changeset: 9621c6858c5e6f9c5cc0557fcecc69247923cc45
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Mon Jul 02 22:37:49 2018 +0530
URL: http://code.openbravo.com/erp/backports/3.0PR18Q3/rev/9621c6858c5e6f9c5cc0557fcecc69247923cc45 [^] [^]

Related to Issue 38883:Copy from Order it does not copy line description

Modify the copy line from order related tests to check copied line
description with the original line description instead of checking
with header description

---
M src-test/src/org/openbravo/test/copyLinesFromOrders/CopyLinesFromOrdersTest.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/data/CLFOTestConstants.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/data/CLFOTestDataPO_13.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/data/CLFOTestDataPO_14.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/data/CLFOTestDataPO_15.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/data/CLFOTestDataPO_16.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/data/CLFOTestDataPO_17.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/data/CLFOTestDataPO_18.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/data/CLFOTestDataPO_19.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/data/CLFOTestDataPO_20.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/data/CLFOTestDataSO_01.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/data/CLFOTestDataSO_02.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/data/CLFOTestDataSO_03.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/data/CLFOTestDataSO_04.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/data/CLFOTestDataSO_05.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/data/CLFOTestDataSO_06.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/data/CLFOTestDataSO_07.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/data/CLFOTestDataSO_08.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/data/CLFOTestDataSO_AUM_21.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/data/CLFOTestDataSO_AUM_22.java
M src-test/src/org/openbravo/test/copyLinesFromOrders/data/CopyLinesFromOrdersTestData.java
---
(0105734)
Sandrahuguet   
2018-07-13 11:04   
Repository: erp/backports/3.0PR18Q3
Changeset: 887fecbf056b052549f9b77e09c03d3e7860e436
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Wed Jul 04 17:45:38 2018 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR18Q3/rev/887fecbf056b052549f9b77e09c03d3e7860e436 [^] [^]

related to issue 38883 update Copyright

---
M src-test/src/org/openbravo/test/copyLinesFromOrders/data/CLFOTestDataSO_05.java
(0105735)
Sandrahuguet   
2018-07-13 11:06   
Code review + testing OK