details:   https://code.openbravo.com/erp/stable/2.50/rev/6592e5263279
changeset: 9912:6592e5263279
user:      Augusto Mauch <augusto.mauch <at> openbravo.com>
date:      Thu Mar 14 11:14:32 2013 +0100
summary:   Fixes issue 23301: Price reference columns can be sed as filter 
columns

Price columns, as opposed to Amount and Number columns, do not have a minimum 
and maximum range when they are filtered, only a minimum value [1]. The UIPrice 
reference has been changed so that it behaves this way.

[1] 
http://fugoconsulting.wordpress.com/tag/difference-between-amount-and-price-in-openbravo/

diffstat:

 src/org/openbravo/reference/ui/UIPrice.java |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 444911e2b851 -r 6592e5263279 src/org/openbravo/reference/ui/UIPrice.java
--- a/src/org/openbravo/reference/ui/UIPrice.java       Mon Feb 04 11:58:26 
2013 +0100
+++ b/src/org/openbravo/reference/ui/UIPrice.java       Thu Mar 14 11:14:32 
2013 +0100
@@ -27,7 +27,7 @@
 public class UIPrice extends UIReference {
   public UIPrice(String reference, String subreference) {
     super(reference, subreference);
-    addSecondaryFilter = true;
+    addSecondaryFilter = false;
     numeric = true;
   }
 

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to