Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Frederic Thoma
erp5
Commits
b4929dce
Commit
b4929dce
authored
Dec 21, 2015
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XXX add roles group id to catalog
parent
27bf089d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
1 deletion
+36
-1
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_object_list.xml
...ortal_catalog/erp5_mysql_innodb/z_catalog_object_list.xml
+20
-1
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_catalog.xml
...tem/portal_catalog/erp5_mysql_innodb/z_create_catalog.xml
+16
-0
No files found.
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_object_list.xml
View file @
b4929dce
...
...
@@ -16,6 +16,14 @@
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
uid\r\n
security_uid\r\n
source_security_uid\r\n
destination_decision_security_uid\r\n
follow_up_security_uid\r\n
follow_up_associate_security_uid\r\n
follow_up_auditor_security_uid\r\n
follow_up_assignor_security_uid\r\n
source_decision_security_uid\r\n
source_trade_security_uid\r\n
getOwnerInfo\r\n
getViewPermissionOwner\r\n
getPath\r\n
...
...
@@ -88,7 +96,10 @@ getModificationDate</string> </value>
REPLACE INTO\n
catalog\n
(`uid`, `security_uid`, `owner`, `viewable_owner`, `path`, `relative_url`, `parent_uid`, `id`, `description`, `title`, `meta_type`,\n
(`uid`, `security_uid`, `source_security_uid`, `destination_decision_security_uid`, `follow_up_security_uid`,\n
`follow_up_associate_security_uid`, `follow_up_auditor_security_uid`, `follow_up_assignor_security_uid`, \n
`source_decision_security_uid`, `source_trade_security_uid`, \n
`owner`, `viewable_owner`, `path`, `relative_url`, `parent_uid`, `id`, `description`, `title`, `meta_type`,\n
`portal_type`, `opportunity_state`, `corporate_registration_code`, `ean13_code`, `validation_state`, `simulation_state`,\n
`causality_state`, `invoice_state`, `payment_state`, `event_state`, `immobilisation_state`, `reference`, `grouping_reference`, `grouping_date`,\n
`source_reference`, `destination_reference`, `string_index`, `int_index`, `float_index`, `has_cell_content`, `creation_date`,\n
...
...
@@ -98,6 +109,14 @@ VALUES\n
(\n
<dtml-sqlvar
expr=
"uid[loop_item]"
type=
"int"
>
, \n
<dtml-sqlvar
expr=
"security_uid[loop_item]"
type=
"int"
>
,\n
<dtml-sqlvar
expr=
"source_security_uid[loop_item]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"destination_decision_security_uid[loop_item]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"follow_up_security_uid[loop_item]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"follow_up_associate_security_uid[loop_item]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"follow_up_auditor_security_uid[loop_item]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"follow_up_assignor_security_uid[loop_item]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"source_decision_security_uid[loop_item]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"source_trade_security_uid[loop_item]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"getOwnerInfo[loop_item][\'id\']"
type=
"string"
>
,\n
<dtml-sqlvar
expr=
"(getViewPermissionOwner[loop_item] is not None) and getViewPermissionOwner[loop_item] or \'\'"
type=
"string"
optional
>
,\n
<dtml-sqlvar
expr=
"getPath[loop_item]"
type=
"string"
>
,\n
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_catalog.xml
View file @
b4929dce
...
...
@@ -65,6 +65,14 @@
CREATE TABLE `catalog` (\n
`uid` BIGINT UNSIGNED NOT NULL,\n
`security_uid` INT UNSIGNED,\n
`source_security_uid` INT UNSIGNED,\n
`destination_decision_security_uid` INT UNSIGNED,\n
`follow_up_security_uid` INT UNSIGNED,\n
`follow_up_associate_security_uid` INT UNSIGNED,\n
`follow_up_auditor_security_uid` INT UNSIGNED,\n
`follow_up_assignor_security_uid` INT UNSIGNED,\n
`source_decision_security_uid` INT UNSIGNED,\n
`source_trade_security_uid` INT UNSIGNED,\n
`owner` varbinary(255) NOT NULL default \'\',\n
`viewable_owner` varbinary(255) NOT NULL default \'\',\n
`path` varchar(255) NOT NULL default \'\',\n
...
...
@@ -99,6 +107,14 @@ CREATE TABLE `catalog` (\n
`indexation_timestamp` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n
PRIMARY KEY (`uid`),\n
KEY `security_uid` (`security_uid`),\n
KEY `source_security_uid` (`source_security_uid`),\n
KEY `destination_decision_security_uid` (`destination_decision_security_uid`),\n
KEY `follow_up_security_uid` (`follow_up_security_uid`),\n
KEY `follow_up_associate_security_uid` (`follow_up_associate_security_uid`),\n
KEY `follow_up_auditor_security_uid` (`follow_up_auditor_security_uid`),\n
KEY `follow_up_assignor_security_uid` (`follow_up_assignor_security_uid`),\n
KEY `source_decision_security_uid` (`source_decision_security_uid`),\n
KEY `source_trade_security_uid` (`source_trade_security_uid`),\n
KEY `owner` (`owner`),\n
KEY `viewable_owner` (`viewable_owner`),\n
KEY `Parent` (`parent_uid`),\n
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment