Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016626Openbravo ERP07. Sales managementpublic2011-04-03 16:562011-04-04 10:57
psarobe 
psarobe 
normalmajoralways
closedfixed 
5
2.50MP27 
2.50MP292.50MP29 
Core
No
0016626: "Create Invoices from Orders": Retrieves different info when it should show the same
The form has a check "Lines include taxes" that shows more info if it is checked and this is wrong. The only difference when the flag is checked or not should be that the amounts include taxes or not but never to show more sales orders and this is what is happening.

The problem is due to this fix 13944 where the developer forgot to also change the method "selectGross". This method is called when the flag is checked
1. Go to Create Invoices from orders
2. Don't check the flag "Lines include taxes"
3. Click search. Some lines are retrieved
4. Now check the flag and click search.
5. Notice that more lines are retrieved and this is wrong.

Same lines must be retrieved in both cases
No tags attached.
blocks defect 00166253.0RC6 closed psarobe "Create Invoices from Orders": Retrieves different info when it should show the same 
Issue History
2011-04-03 16:57psarobeTypedefect => backport
2011-04-03 16:57psarobefix_in_branchpi => 2.50
2011-04-03 16:57psarobeversionpi => 2.50MP27
2011-04-03 16:57psarobeTarget Version3.0RC6 => 2.50MP29
2011-04-03 17:02psarobeSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=1763#r1763
2011-04-04 10:56hgbotCheckin
2011-04-04 10:56hgbotNote Added: 0035514
2011-04-04 10:56hgbotStatusscheduled => resolved
2011-04-04 10:56hgbotResolutionopen => fixed
2011-04-04 10:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/eb0cbea36e1a3d48a741c566354b546136309d3a [^]
2011-04-04 10:57psarobeStatusresolved => closed
2011-04-04 10:57psarobeFixed in Version => 2.50MP29

Notes
(0035514)
hgbot   
2011-04-04 10:56   
Repository: erp/stable/2.50
Changeset: eb0cbea36e1a3d48a741c566354b546136309d3a
Author: Pablo Sarobe <pablo.sarobe <at> openbravo.com>
Date: Mon Apr 04 10:55:52 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/eb0cbea36e1a3d48a741c566354b546136309d3a [^]

Fixes issue 16626

---
M src/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual_data.xsql
---