Issue 18077: Small fixes based on code-review
authorIván Perdomo <ivan.perdomo@openbravo.com>
Thu, 04 Aug 2011 13:34:47 +0200
changeset 13427 f830dbe7a70c
parent 13426 62ca9f6217be
child 13428 3dbaa4aed89f
Issue 18077: Small fixes based on code-review
- Set updatable in Role field
- Fixes copy/pasted column in check constraints
modules/org.openbravo.service.integration.google/src-db/database/model/tables/OBSEIG_DEFAULTS.xml
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_COLUMN.xml
--- a/modules/org.openbravo.service.integration.google/src-db/database/model/tables/OBSEIG_DEFAULTS.xml	Thu Aug 04 12:10:36 2011 +0200
+++ b/modules/org.openbravo.service.integration.google/src-db/database/model/tables/OBSEIG_DEFAULTS.xml	Thu Aug 04 13:34:47 2011 +0200
@@ -55,7 +55,7 @@
         <reference local="AD_ROLE_ID" foreign="AD_ROLE_ID"/>
       </foreign-key>
       <check name="OBSEIG_DEF_NEWUACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
-      <check name="OBSEIG_DEFAULT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
-      <check name="OBSEIG_DEFAULT_ISDEFAULT_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="OBSEIG_DEFAULT_ISACTIVE_CHECK"><![CDATA[ISNEWUSERACTIVE IN ('Y', 'N')]]></check>
+      <check name="OBSEIG_DEFAULT_ISDEFAULT_CHECK"><![CDATA[ISDEFAULT IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_COLUMN.xml	Thu Aug 04 12:10:36 2011 +0200
+++ b/modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_COLUMN.xml	Thu Aug 04 13:34:47 2011 +0200
@@ -147,7 +147,7 @@
 <!--5887370AAF5A47C3AE119D29C4442A43-->  <ISKEY><![CDATA[N]]></ISKEY>
 <!--5887370AAF5A47C3AE119D29C4442A43-->  <ISPARENT><![CDATA[Y]]></ISPARENT>
 <!--5887370AAF5A47C3AE119D29C4442A43-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--5887370AAF5A47C3AE119D29C4442A43-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--5887370AAF5A47C3AE119D29C4442A43-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
 <!--5887370AAF5A47C3AE119D29C4442A43-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
 <!--5887370AAF5A47C3AE119D29C4442A43-->  <SEQNO><![CDATA[90]]></SEQNO>
 <!--5887370AAF5A47C3AE119D29C4442A43-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>