Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016829Openbravo ERP03. Procurement managementpublic2011-04-15 14:592011-05-12 13:30
AinhoaPagola 
egoitz 
urgentmajorhave not tried
closedfixed 
20Ubuntu 8.4
2.50MP28 
 
Core
No
0016829: Copy lines in purchase invoice sets first line number to 20
In a new purchase invoice, if the lines are created thought copy lines button, the first line is created with line number 20 instead of 10.
Create a new purchase invoice header.
Click on "copy lines" button and copy a few lines.
Check that the first line is inserted with number 20.
No tags attached.
depends on backport 0016965 closed egoitz Copy lines in purchase invoice sets first line number to 20 
Issue History
2011-04-15 14:59AinhoaPagolaNew Issue
2011-04-15 14:59AinhoaPagolaAssigned To => adrianromero
2011-04-15 14:59AinhoaPagolaModules => Core
2011-04-15 14:59AinhoaPagolaPrioritynormal => urgent
2011-04-15 15:00AinhoaPagolaIssue Monitored: networkb
2011-04-15 15:53AinhoaPagolaNote Added: 0035995
2011-05-02 16:17AinhoaPagolaAssigned Toadrianromero => AinhoaPagola
2011-05-02 16:17AinhoaPagolaStatusnew => scheduled
2011-05-02 16:17AinhoaPagolafix_in_branch => pi
2011-05-04 18:52egoitzAssigned ToAinhoaPagola => egoitz
2011-05-04 18:52egoitzfix_in_branchpi =>
2011-05-05 08:59hgbotCheckin
2011-05-05 08:59hgbotNote Added: 0036373
2011-05-05 08:59hgbotStatusscheduled => resolved
2011-05-05 08:59hgbotResolutionopen => fixed
2011-05-05 08:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c9abf23b4e2df52c0da0fd1dc33467f46e2e3bb1 [^]
2011-05-06 08:55AinhoaPagolaNote Added: 0036476
2011-05-06 08:55AinhoaPagolaStatusresolved => closed
2011-05-12 13:30hudsonbotCheckin
2011-05-12 13:30hudsonbotNote Added: 0036819

Notes
(0035995)
AinhoaPagola   
2011-04-15 15:53   
The copy process might be taking the minimum line number of the original invoice and adds 10 to that number.

With sample data, test with invoice number 100014 (whose lines start with 0). The copied lines will start with 10.
Test with invoice number 100011 and lines will start with 20.
(0036373)
hgbot   
2011-05-05 08:59   
Repository: erp/devel/pi
Changeset: c9abf23b4e2df52c0da0fd1dc33467f46e2e3bb1
Author: Egoitz Castillo <egoitz.castillo <at> openbravo.com>
Date: Wed May 04 18:52:32 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c9abf23b4e2df52c0da0fd1dc33467f46e2e3bb1 [^]

Fixed Issue 16829. Copy lines in purchase invoice, incorrect linenum

---
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromInvoice.java
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromInvoice_data.xsql
---
(0036476)
AinhoaPagola   
2011-05-06 08:55   
Tested Working Fine.
(0036819)
hudsonbot   
2011-05-12 13:30   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/c40e579fcd38 [^]

Maturity status: Test