details: /erp/devel/pi/rev/3618f3069f88
changeset: 10946:3618f3069f88
user: Martin Taal <martin.taal <at> openbravo.com>
date: Tue Mar 01 14:52:49 2011 +0100
summary: Related to issue 15993: Reference creation issue
diffstat:
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFormComponent.java
| 3 ++-
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form.js
| 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r 710294c9bb0f -r 3618f3069f88
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFormComponent.java
---
a/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFormComponent.java
Tue Mar 01 14:16:00 2011 +0100
+++
b/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFormComponent.java
Tue Mar 01 14:52:49 2011 +0100
@@ -132,7 +132,8 @@
continue;
}
- final Property property =
KernelUtils.getInstance().getPropertyFromColumn(field.getColumn());
+ final Property property =
KernelUtils.getInstance().getPropertyFromColumn(field.getColumn(),
+ false);
// a button domain type, continue for now
if (ApplicationUtils.isUIButton(field)) {
diff -r 710294c9bb0f -r 3618f3069f88
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form.js
Tue Mar 01 14:16:00 2011 +0100
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form.js
Tue Mar 01 14:52:49 2011 +0100
@@ -506,7 +506,7 @@
}
// ignore the id
- if (field.name === OB.Constants.ID) {
+ if (prop === OB.Constants.ID) {
return;
}
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits