Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007770Openbravo ERPA. Platformpublic2009-02-23 17:442009-03-05 10:56
shuehner 
shuehner 
normalminorhave not tried
closedfixed 
5
pi 
2.40MP3 
Core
No
0007770: Order Line Selector has new filter field (Purchase/Sales) displaying Purchase even when called from a Sales window
When you a a reference to the Order Line selector from i.e. the Sales Invoice window then the selector correctly displays sales invoice line, but the new filter field in the selector stays on the purchase value. So the next click on Search in the selector switches to purchase line display giving inconsistent behavior.

Go to Application Dictionary Windows, tab, fields
Go to the Sales Invoice window definition
Go to the Lines tab definition
Go to the Sales Order Line field definition
Change the value of read-only to false
recompile the Sales Invoice window
When now going the this windows (Sales Invoice -> Lines) the invoice line selector is used for the Sales Order Line field. Notice that the filter field in the selector shows purchase even when called from the Sales Invoice window.
The value of the filter field should be set to sales, if the selector is called from a sales context.
No tags attached.
blocks defect 0007769 closed shuehner Order Line Selector has new filter field (Purchase/Sales) displaying Purchase even when called from a Sales window 
Issue History
2009-02-23 17:44shuehnerTypedefect => backport
2009-02-23 17:44shuehnerfix_in_branch => 2.40
2009-02-23 18:02shuehnerRelationship addedrelated to 0007572
2009-02-23 18:13shuehnerRelationship deletedrelated to 0007572
2009-02-23 18:35svnbotCheckin
2009-02-23 18:35svnbotNote Added: 0013973
2009-02-23 18:35svnbotStatusscheduled => resolved
2009-02-23 18:35svnbotResolutionopen => fixed
2009-02-23 18:35svnbotsvn_revision => 13555
2009-03-03 17:31psarobeFixed in Version => 2.40MP3
2009-03-05 10:56sureshbabuStatusresolved => closed
2009-03-05 10:56sureshbabuNote Added: 0014428

Notes
(0013973)
svnbot   
2009-02-23 18:35   
Repository: openbravo
Revision: 13555
Author: huehner
Date: 2009-02-23 18:35:23 +0100 (Mon, 23 Feb 2009)

Fixed 7770
Set default value for filter to sales when selector is called from sales context.

---
U branches/r2.40/src/org/openbravo/erpCommon/info/SalesOrderLine.java
U branches/r2.40/src/org/openbravo/erpCommon/info/SalesOrderLine.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=13555&sc=1 [^]
(0014428)
sureshbabu   
2009-03-05 10:56   
Retested working fine