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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019847
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersminoralways2012-02-23 09:552012-04-02 06:10
ReporterioritzCiaView Statuspublic 
Assigned Tojecharri 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision495a9a24987c
ProjectionnoneETAnoneTarget Version3.0MP10
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_22
OS VersionUbuntu 10.04Database version8.4Ant version1.7.1
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0019847: Copy lines from invoice does not mantain the order in the lines of the original invoice.

DescriptionCopy lines from invoice does not mantain the order in the lines of the original invoice.
Steps To Reproduce- Go to Sales Management >> Transactions >> Sales Invoice.
- Create an invoice, preferably with many lines.
- Complete it.
- Create another invoice with 'Copy Lines' process from the previous invoice.
- As there is no order by clause it can reorder the lines in other way from the original or not.
- If another invoice is created in the same way just after the second. The lines will be created in the same order as in the second.
- If another invoice is created in the same way some time after that having changed the database status, the lines will be ordered in other way.
- This is wrong, the copied lines should be created in the same order as in the original invoice. They should be ordered by the seqno.
Proposed SolutionOrder the lines by the seqno. The should be ordered by the seqno, but they should not be assigned the same seqno because you can use copy lines after havving added one or you can execute copy lines from more than one invoice.

Check if the other 'copy from' processes work the same way.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0046486)
hgbot (developer)
2012-03-16 09:01

Repository: erp/devel/pi
Changeset: 495a9a24987c3b00a86cd84a00bde5524eb3c1bc
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Fri Mar 16 09:00:45 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/495a9a24987c3b00a86cd84a00bde5524eb3c1bc [^]

Fixes issue 19847: Copy lines from invoice does not mantain the order in the lines of the original invoice.

---
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromInvoice_data.xsql
---
(0046488)
jecharri (developer)
2012-03-16 09:03

Test cases:
-wtih steps to reproduce is enough

I have tested the copy from in orders and also, I have verified that the "copy lines from" is working like it is expected but it will be great to another review before close the issue
(0046807)
ioritzCia (developer)
2012-03-28 10:36

Verified
(0047154)
hudsonbot (developer)
2012-04-02 06:10

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/7814864461ac [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-02-23 09:55 ioritzCia New Issue
2012-02-23 09:55 ioritzCia Assigned To => vmromanos
2012-02-23 09:55 ioritzCia Modules => Core
2012-02-23 10:01 ioritzCia Resolution time => 1335909600
2012-02-23 10:01 ioritzCia Assigned To vmromanos => jonalegriaesarte
2012-02-23 10:01 ioritzCia Target Version => 3.0MP10
2012-02-23 13:14 ioritzCia Issue Monitored: networkb
2012-03-15 18:40 jonalegriaesarte Assigned To jonalegriaesarte => jecharri
2012-03-16 09:01 hgbot Checkin
2012-03-16 09:01 hgbot Note Added: 0046486
2012-03-16 09:01 hgbot Status new => resolved
2012-03-16 09:01 hgbot Resolution open => fixed
2012-03-16 09:01 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/495a9a24987c3b00a86cd84a00bde5524eb3c1bc [^]
2012-03-16 09:03 jecharri Note Added: 0046488
2012-03-28 10:36 ioritzCia Note Added: 0046807
2012-03-28 10:36 ioritzCia Status resolved => closed
2012-04-02 06:10 hudsonbot Checkin
2012-04-02 06:10 hudsonbot Note Added: 0047154


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker