details:   https://code.openbravo.com/erp/devel/pi/rev/6e5c3a83e2b5
changeset: 21055:6e5c3a83e2b5
user:      Asier Lostalé <asier.lostale <at> openbravo.com>
date:      Mon Sep 02 10:57:15 2013 +0200
summary:   fixed bug 24648: Open/Close Period Control window is not working

  Using computed column as part of tab's HQL where clause through 
_computedColumns
  virtual property.

diffstat:

 src-db/database/sourcedata/AD_TAB.xml |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r af8eea02fadc -r 6e5c3a83e2b5 src-db/database/sourcedata/AD_TAB.xml
--- a/src-db/database/sourcedata/AD_TAB.xml     Mon Sep 02 09:43:20 2013 +0200
+++ b/src-db/database/sourcedata/AD_TAB.xml     Mon Sep 02 10:57:15 2013 +0200
@@ -16077,7 +16077,7 @@
 <!--E429CB8F5CDF4D8395B76D553E72A2D0-->  
<AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--E429CB8F5CDF4D8395B76D553E72A2D0-->  <UIPATTERN><![CDATA[SR]]></UIPATTERN>
 <!--E429CB8F5CDF4D8395B76D553E72A2D0-->  
<HQLORDERBYCLAUSE><![CDATA[startingDate]]></HQLORDERBYCLAUSE>
-<!--E429CB8F5CDF4D8395B76D553E72A2D0-->  
<HQLFILTERCLAUSE><![CDATA[e.organization.id = 
ad_org_getperiodcontrolallow(@#AD_Org_ID@) and e.status not in 
('P','C')]]></HQLFILTERCLAUSE>
+<!--E429CB8F5CDF4D8395B76D553E72A2D0-->  
<HQLFILTERCLAUSE><![CDATA[e.organization.id = 
ad_org_getperiodcontrolallow(@#AD_Org_ID@) and e._computedColumns.status not in 
('P','C')]]></HQLFILTERCLAUSE>
 <!--E429CB8F5CDF4D8395B76D553E72A2D0-->  
<SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
 <!--E429CB8F5CDF4D8395B76D553E72A2D0-->  
<EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
 <!--E429CB8F5CDF4D8395B76D553E72A2D0-->  
<EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to