Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016625Openbravo ERP07. Sales managementpublic2011-04-03 16:562011-04-05 00:00
psarobe 
psarobe 
normalmajoralways
closedfixed 
5
pi 
3.0RC63.0RC6 
Core
No
0016625: "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.
depends on backport 00166262.50MP29 closed psarobe "Create Invoices from Orders": Retrieves different info when it should show the same 
Issue History
2011-04-03 16:56psarobeNew Issue
2011-04-03 16:56psarobeAssigned To => psarobe
2011-04-03 16:56psarobeModules => Core
2011-04-03 16:56psarobeStatusnew => scheduled
2011-04-03 16:56psarobefix_in_branch => pi
2011-04-03 16:57psarobeStatusscheduled => feedback
2011-04-03 16:57psarobeStatusfeedback => scheduled
2011-04-03 17:02psarobefix_in_branchpi =>
2011-04-03 17:02psarobeSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=1765#r1765
2011-04-03 17:21hgbotCheckin
2011-04-03 17:21hgbotNote Added: 0035499
2011-04-03 17:21hgbotStatusscheduled => resolved
2011-04-03 17:21hgbotResolutionopen => fixed
2011-04-03 17:21hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ee3932c7d51972d39c9b9a002980634ae4e2f255 [^]
2011-04-04 10:57psarobeStatusresolved => closed
2011-04-04 10:57psarobeFixed in Version => 3.0RC6
2011-04-05 00:00anonymoussf_bug_id0 => 3274940

Notes
(0035499)
hgbot   
2011-04-03 17:21   
Repository: erp/devel/pi
Changeset: ee3932c7d51972d39c9b9a002980634ae4e2f255
Author: Pablo Sarobe <pablo.sarobe <at> openbravo.com>
Date: Sun Apr 03 17:21:32 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ee3932c7d51972d39c9b9a002980634ae4e2f255 [^]

Fixes issue 16625: Create invoices from orders is wrong

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