diff --git a/org.adempiere.base/src/org/compiere/model/PO.java b/org.adempiere.base/src/org/compiere/model/PO.java index 430dd1fd48..95e3ed0e14 100644 --- a/org.adempiere.base/src/org/compiere/model/PO.java +++ b/org.adempiere.base/src/org/compiere/model/PO.java @@ -425,6 +425,8 @@ public abstract class PO */ public Properties getCtx() { + if (p_ctx.size() == 0 && Env.getCtx().size() > 0) + p_ctx = Env.getCtx(); return p_ctx; } // getCtx