Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
erp5
Commits
03707203
Commit
03707203
authored
Jul 19, 2017
by
Ayush Tiwari
Committed by
Ayush Tiwari
Nov 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bt5_config: Update the current status of erp5_mysql_innodb_catalog with erp5 master
parent
f34b4849
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
1 addition
and
136 deletions
+1
-136
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeFullTextQuery.py
...catalog/erp5_mysql_innodb/SQLCatalog_makeFullTextQuery.py
+1
-1
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_item_list.sql
.../portal_catalog/erp5_mysql_innodb/z_catalog_item_list.sql
+0
-13
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_measure_list.sql
...rtal_catalog/erp5_mysql_innodb/z_catalog_measure_list.sql
+0
-8
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_movement_category_list.sql
...og/erp5_mysql_innodb/z_catalog_movement_category_list.sql
+0
-12
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_non_movement_category_list.sql
...rp5_mysql_innodb/z_catalog_non_movement_category_list.sql
+0
-12
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_predicate_category_list.sql
...g/erp5_mysql_innodb/z_catalog_predicate_category_list.sql
+0
-13
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_predicate_list.sql
...al_catalog/erp5_mysql_innodb/z_catalog_predicate_list.sql
+0
-7
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_quantity_unit_conversion_list.sql
..._mysql_innodb/z_catalog_quantity_unit_conversion_list.sql
+0
-10
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_stock_list.sql
...portal_catalog/erp5_mysql_innodb/z_catalog_stock_list.sql
+0
-13
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_transformation_list.sql
...talog/erp5_mysql_innodb/z_catalog_transformation_list.sql
+0
-4
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_get_table_schema.xml
...m/portal_catalog/erp5_mysql_innodb/z_get_table_schema.xml
+0
-9
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_getitem_by_path.sql
...em/portal_catalog/erp5_mysql_innodb/z_getitem_by_path.sql
+0
-10
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_getitem_by_uid.sql
...tem/portal_catalog/erp5_mysql_innodb/z_getitem_by_uid.sql
+0
-10
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_produce_reserved_uid_list.sql
...catalog/erp5_mysql_innodb/z_produce_reserved_uid_list.sql
+0
-6
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogRelatedKeyTemplateItem/related_key_list.xml
...atalog/CatalogRelatedKeyTemplateItem/related_key_list.xml
+0
-4
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/template_catalog_related_key_list
...mysql_innodb_catalog/bt/template_catalog_related_key_list
+0
-4
No files found.
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeFullTextQuery.py
View file @
03707203
...
@@ -6,5 +6,5 @@ from Products.ZSQLCatalog.SQLCatalog import Query
...
@@ -6,5 +6,5 @@ from Products.ZSQLCatalog.SQLCatalog import Query
query
=
ComplexQuery
(
Query
(
title
=
value
),
query
=
ComplexQuery
(
Query
(
title
=
value
),
Query
(
reference
=
value
),
Query
(
reference
=
value
),
operator
=
"OR"
)
logical_
operator
=
"OR"
)
return
query
return
query
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_item_list.sql
View file @
03707203
DELETE
FROM
DELETE
FROM
item
item
WHERE
WHERE
<<<<<<<
HEAD
<
dtml
-
sqltest
uid
type
=
"int"
multiple
>
<
dtml
-
sqltest
uid
type
=
"int"
multiple
>
<
dtml
-
var
sql_delimiter
>
<
dtml
-
var
sql_delimiter
>
=======
<
dtml
-
in
uid
>
uid
=<
dtml
-
sqlvar
sequence
-
item
type
=
"int"
><
dtml
-
if
sequence
-
end
><
dtml
-
else
>
OR
</
dtml
-
if
>
</
dtml
-
in
>
;
<
dtml
-
var
"'
\0
'"
>
>>>>>>>
3
ce2fc0
...
bt5_prototype
:
Move
erp5_mysql_innodb_catalog
back
to
BT5
type
<
dtml
-
let
movement_list
=
"[]"
uid_dict
=
"{}"
>
<
dtml
-
let
movement_list
=
"[]"
uid_dict
=
"{}"
>
<
dtml
-
in
prefix
=
"loop"
expr
=
"_.range(_.len(uid))"
>
<
dtml
-
in
prefix
=
"loop"
expr
=
"_.range(_.len(uid))"
>
...
@@ -22,11 +13,7 @@ WHERE
...
@@ -22,11 +13,7 @@ WHERE
</
dtml
-
if
>
</
dtml
-
if
>
</
dtml
-
in
>
</
dtml
-
in
>
<
dtml
-
if
expr
=
"_.len(movement_list) > 0"
>
<
dtml
-
if
expr
=
"_.len(movement_list) > 0"
>
<<<<<<<
HEAD
INSERT
INTO
INSERT
INTO
=======
REPLACE
INTO
>>>>>>>
3
ce2fc0
...
bt5_prototype
:
Move
erp5_mysql_innodb_catalog
back
to
BT5
type
item
item
VALUES
VALUES
<
dtml
-
in
prefix
=
"loop"
expr
=
"movement_list"
>
<
dtml
-
in
prefix
=
"loop"
expr
=
"movement_list"
>
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_measure_list.sql
View file @
03707203
DELETE
FROM
`measure`
WHERE
DELETE
FROM
`measure`
WHERE
<<<<<<<
HEAD
<
dtml
-
sqltest
uid
column
=
"resource_uid"
type
=
"int"
multiple
>
<
dtml
-
sqltest
uid
column
=
"resource_uid"
type
=
"int"
multiple
>
=======
<
dtml
-
sqltest
uid
column
=
"resource_uid"
type
=
"int"
multiple
>
;
>>>>>>>
3
ce2fc0
...
bt5_prototype
:
Move
erp5_mysql_innodb_catalog
back
to
BT5
type
<
dtml
-
let
measure_list
=
"[]"
>
<
dtml
-
let
measure_list
=
"[]"
>
<
dtml
-
in
getMeasureRowList
prefix
=
"loop"
>
<
dtml
-
in
getMeasureRowList
prefix
=
"loop"
>
...
@@ -13,11 +9,7 @@ DELETE FROM `measure` WHERE
...
@@ -13,11 +9,7 @@ DELETE FROM `measure` WHERE
<
dtml
-
if
measure_list
>
<
dtml
-
if
measure_list
>
<
dtml
-
var
sql_delimiter
>
<
dtml
-
var
sql_delimiter
>
<<<<<<<
HEAD
INSERT
INTO
`measure`
INSERT
INTO
`measure`
=======
REPLACE
INTO
`measure`
>>>>>>>
3
ce2fc0
...
bt5_prototype
:
Move
erp5_mysql_innodb_catalog
back
to
BT5
type
VALUES
VALUES
<
dtml
-
in
measure_list
prefix
=
"loop"
>
<
dtml
-
in
measure_list
prefix
=
"loop"
>
(
(
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_movement_category_list.sql
View file @
03707203
DELETE
FROM
DELETE
FROM
category
category
WHERE
WHERE
<<<<<<<
HEAD
<
dtml
-
sqltest
uid
type
=
"int"
multiple
>
<
dtml
-
sqltest
uid
type
=
"int"
multiple
>
<
dtml
-
var
sql_delimiter
>
<
dtml
-
var
sql_delimiter
>
=======
<
dtml
-
in
uid
>
uid
=<
dtml
-
sqlvar
sequence
-
item
type
=
"int"
><
dtml
-
if
sequence
-
end
><
dtml
-
else
>
OR
</
dtml
-
if
>
</
dtml
-
in
>
;
<
dtml
-
var
"'
\0
'"
>
>>>>>>>
3
ce2fc0
...
bt5_prototype
:
Move
erp5_mysql_innodb_catalog
back
to
BT5
type
<
dtml
-
let
category_list
=
"[]"
getCategoryParentUidList
=
"portal_categories.getCategoryParentUidList"
>
<
dtml
-
let
category_list
=
"[]"
getCategoryParentUidList
=
"portal_categories.getCategoryParentUidList"
>
<
dtml
-
in
prefix
=
"loop"
expr
=
"_.range(_.len(uid))"
>
<
dtml
-
in
prefix
=
"loop"
expr
=
"_.range(_.len(uid))"
>
<
dtml
-
if
expr
=
"getCategoryList[loop_item]"
>
<
dtml
-
if
expr
=
"getCategoryList[loop_item]"
>
...
@@ -22,11 +14,7 @@ WHERE
...
@@ -22,11 +14,7 @@ WHERE
<
dtml
-
call
expr
=
"category_list.append((uid[loop_item], uid_item[0], uid_item[1], uid_item[2]))"
>
<
dtml
-
call
expr
=
"category_list.append((uid[loop_item], uid_item[0], uid_item[1], uid_item[2]))"
>
</
dtml
-
in
></
dtml
-
if
></
dtml
-
let
></
dtml
-
if
></
dtml
-
in
>
</
dtml
-
in
></
dtml
-
if
></
dtml
-
let
></
dtml
-
if
></
dtml
-
in
>
<
dtml
-
if
expr
=
"category_list"
>
<
dtml
-
if
expr
=
"category_list"
>
<<<<<<<
HEAD
INSERT
INTO
category
VALUES
INSERT
INTO
category
VALUES
=======
REPLACE
INTO
category
VALUES
>>>>>>>
3
ce2fc0
...
bt5_prototype
:
Move
erp5_mysql_innodb_catalog
back
to
BT5
type
<
dtml
-
in
prefix
=
"loop"
expr
=
"category_list"
>
<
dtml
-
in
prefix
=
"loop"
expr
=
"category_list"
>
(
<
dtml
-
sqlvar
expr
=
"loop_item[0]"
type
=
"int"
>
,
<
dtml
-
sqlvar
expr
=
"loop_item[1]"
type
=
"int"
>
,
<
dtml
-
sqlvar
expr
=
"loop_item[2]"
type
=
"int"
>
,
<
dtml
-
sqlvar
expr
=
"loop_item[3]"
type
=
"int"
>
)
<
dtml
-
if
sequence
-
end
><
dtml
-
else
>
,
</
dtml
-
if
>
(
<
dtml
-
sqlvar
expr
=
"loop_item[0]"
type
=
"int"
>
,
<
dtml
-
sqlvar
expr
=
"loop_item[1]"
type
=
"int"
>
,
<
dtml
-
sqlvar
expr
=
"loop_item[2]"
type
=
"int"
>
,
<
dtml
-
sqlvar
expr
=
"loop_item[3]"
type
=
"int"
>
)
<
dtml
-
if
sequence
-
end
><
dtml
-
else
>
,
</
dtml
-
if
>
</
dtml
-
in
>
</
dtml
-
in
>
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_non_movement_category_list.sql
View file @
03707203
DELETE
FROM
DELETE
FROM
category
category
WHERE
WHERE
<<<<<<<
HEAD
<
dtml
-
sqltest
uid
type
=
"int"
multiple
>
<
dtml
-
sqltest
uid
type
=
"int"
multiple
>
<
dtml
-
var
sql_delimiter
>
<
dtml
-
var
sql_delimiter
>
=======
<
dtml
-
in
uid
>
uid
=<
dtml
-
sqlvar
sequence
-
item
type
=
"int"
><
dtml
-
if
sequence
-
end
><
dtml
-
else
>
OR
</
dtml
-
if
>
</
dtml
-
in
>
;
<
dtml
-
var
"'
\0
'"
>
>>>>>>>
3
ce2fc0
...
bt5_prototype
:
Move
erp5_mysql_innodb_catalog
back
to
BT5
type
<
dtml
-
let
category_list
=
"[]"
getCategoryParentUidList
=
"portal_categories.getCategoryParentUidList"
>
<
dtml
-
let
category_list
=
"[]"
getCategoryParentUidList
=
"portal_categories.getCategoryParentUidList"
>
<
dtml
-
in
prefix
=
"loop"
expr
=
"_.range(_.len(uid))"
>
<
dtml
-
in
prefix
=
"loop"
expr
=
"_.range(_.len(uid))"
>
<
dtml
-
if
expr
=
"getAcquiredCategoryList[loop_item]"
>
<
dtml
-
if
expr
=
"getAcquiredCategoryList[loop_item]"
>
...
@@ -22,11 +14,7 @@ WHERE
...
@@ -22,11 +14,7 @@ WHERE
<
dtml
-
call
expr
=
"category_list.append((uid[loop_item], uid_item[0], uid_item[1], uid_item[2]))"
>
<
dtml
-
call
expr
=
"category_list.append((uid[loop_item], uid_item[0], uid_item[1], uid_item[2]))"
>
</
dtml
-
in
></
dtml
-
if
></
dtml
-
let
></
dtml
-
if
></
dtml
-
in
>
</
dtml
-
in
></
dtml
-
if
></
dtml
-
let
></
dtml
-
if
></
dtml
-
in
>
<
dtml
-
if
expr
=
"category_list"
>
<
dtml
-
if
expr
=
"category_list"
>
<<<<<<<
HEAD
INSERT
INTO
category
VALUES
INSERT
INTO
category
VALUES
=======
REPLACE
INTO
category
VALUES
>>>>>>>
3
ce2fc0
...
bt5_prototype
:
Move
erp5_mysql_innodb_catalog
back
to
BT5
type
<
dtml
-
in
prefix
=
"loop"
expr
=
"category_list"
>
<
dtml
-
in
prefix
=
"loop"
expr
=
"category_list"
>
(
<
dtml
-
sqlvar
expr
=
"loop_item[0]"
type
=
"int"
>
,
<
dtml
-
sqlvar
expr
=
"loop_item[1]"
type
=
"int"
>
,
<
dtml
-
sqlvar
expr
=
"loop_item[2]"
type
=
"int"
>
,
<
dtml
-
sqlvar
expr
=
"loop_item[3]"
type
=
"int"
>
)
<
dtml
-
if
sequence
-
end
><
dtml
-
else
>
,
</
dtml
-
if
>
(
<
dtml
-
sqlvar
expr
=
"loop_item[0]"
type
=
"int"
>
,
<
dtml
-
sqlvar
expr
=
"loop_item[1]"
type
=
"int"
>
,
<
dtml
-
sqlvar
expr
=
"loop_item[2]"
type
=
"int"
>
,
<
dtml
-
sqlvar
expr
=
"loop_item[3]"
type
=
"int"
>
)
<
dtml
-
if
sequence
-
end
><
dtml
-
else
>
,
</
dtml
-
if
>
</
dtml
-
in
>
</
dtml
-
in
>
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_predicate_category_list.sql
View file @
03707203
DELETE
FROM
DELETE
FROM
predicate_category
predicate_category
WHERE
WHERE
<<<<<<<
HEAD
<
dtml
-
sqltest
uid
type
=
"int"
multiple
>
<
dtml
-
sqltest
uid
type
=
"int"
multiple
>
<
dtml
-
var
sql_delimiter
>
<
dtml
-
var
sql_delimiter
>
=======
<
dtml
-
in
uid
>
uid
=<
dtml
-
sqlvar
sequence
-
item
type
=
"int"
><
dtml
-
if
sequence
-
end
><
dtml
-
else
>
OR
</
dtml
-
if
>
</
dtml
-
in
>
;
<
dtml
-
var
"'
\0
'"
>
>>>>>>>
3
ce2fc0
...
bt5_prototype
:
Move
erp5_mysql_innodb_catalog
back
to
BT5
type
<
dtml
-
let
predicate_list
=
"[]"
>
<
dtml
-
let
predicate_list
=
"[]"
>
<
dtml
-
in
prefix
=
"loop"
expr
=
"_.range(_.len(uid))"
>
<
dtml
-
in
prefix
=
"loop"
expr
=
"_.range(_.len(uid))"
>
...
@@ -23,11 +14,7 @@ WHERE
...
@@ -23,11 +14,7 @@ WHERE
</
dtml
-
if
>
</
dtml
-
if
>
</
dtml
-
in
>
</
dtml
-
in
>
<
dtml
-
if
expr
=
"_.len(predicate_list) > 0"
>
<
dtml
-
if
expr
=
"_.len(predicate_list) > 0"
>
<<<<<<<
HEAD
INSERT
INTO
predicate_category
VALUES
INSERT
INTO
predicate_category
VALUES
=======
REPLACE
INTO
predicate_category
VALUES
>>>>>>>
3
ce2fc0
...
bt5_prototype
:
Move
erp5_mysql_innodb_catalog
back
to
BT5
type
<
dtml
-
in
prefix
=
"loop"
expr
=
"predicate_list"
>
<
dtml
-
in
prefix
=
"loop"
expr
=
"predicate_list"
>
<
dtml
-
if
sequence
-
start
><
dtml
-
else
>
,
</
dtml
-
if
>
<
dtml
-
if
sequence
-
start
><
dtml
-
else
>
,
</
dtml
-
if
>
<
dtml
-
if
"predicate_property_dict[loop_item].has_key('membership_criterion_category_list')"
>
<
dtml
-
if
"predicate_property_dict[loop_item].has_key('membership_criterion_category_list')"
>
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_predicate_list.sql
View file @
03707203
<<<<<<<
HEAD
DELETE
FROM
DELETE
FROM
predicate
predicate
WHERE
WHERE
...
@@ -6,8 +5,6 @@ WHERE
...
@@ -6,8 +5,6 @@ WHERE
<
dtml
-
var
sql_delimiter
>
<
dtml
-
var
sql_delimiter
>
=======
>>>>>>>
3
ce2fc0
...
bt5_prototype
:
Move
erp5_mysql_innodb_catalog
back
to
BT5
type
<
dtml
-
let
predicate_list
=
"[]"
>
<
dtml
-
let
predicate_list
=
"[]"
>
<
dtml
-
in
prefix
=
"loop"
expr
=
"_.range(_.len(uid))"
>
<
dtml
-
in
prefix
=
"loop"
expr
=
"_.range(_.len(uid))"
>
<
dtml
-
if
"isPredicate[loop_item]"
>
<
dtml
-
if
"isPredicate[loop_item]"
>
...
@@ -17,11 +14,7 @@ WHERE
...
@@ -17,11 +14,7 @@ WHERE
</
dtml
-
if
>
</
dtml
-
if
>
</
dtml
-
in
>
</
dtml
-
in
>
<
dtml
-
if
expr
=
"_.len(predicate_list) > 0"
>
<
dtml
-
if
expr
=
"_.len(predicate_list) > 0"
>
<<<<<<<
HEAD
INSERT
INTO
predicate
VALUES
INSERT
INTO
predicate
VALUES
=======
REPLACE
INTO
predicate
VALUES
>>>>>>>
3
ce2fc0
...
bt5_prototype
:
Move
erp5_mysql_innodb_catalog
back
to
BT5
type
<
dtml
-
in
prefix
=
"loop"
expr
=
"predicate_list"
>
<
dtml
-
in
prefix
=
"loop"
expr
=
"predicate_list"
>
<
dtml
-
if
sequence
-
start
><
dtml
-
else
>
,
</
dtml
-
if
>
<
dtml
-
if
sequence
-
start
><
dtml
-
else
>
,
</
dtml
-
if
>
(
(
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_quantity_unit_conversion_list.sql
View file @
03707203
...
@@ -13,12 +13,7 @@
...
@@ -13,12 +13,7 @@
<
dtml
-
if
quantity_unit_conversion_dict
>
<
dtml
-
if
quantity_unit_conversion_dict
>
DELETE
FROM
`quantity_unit_conversion`
WHERE
DELETE
FROM
`quantity_unit_conversion`
WHERE
<<<<<<<
HEAD
<
dtml
-
sqltest
"quantity_unit_conversion_dict.keys()"
column
=
"resource_uid"
type
=
"int"
multiple
>
<
dtml
-
sqltest
"quantity_unit_conversion_dict.keys()"
column
=
"resource_uid"
type
=
"int"
multiple
>
=======
<
dtml
-
sqltest
"quantity_unit_conversion_dict.keys()"
column
=
"resource_uid"
type
=
"int"
multiple
>
;
>>>>>>>
3
ce2fc0
...
bt5_prototype
:
Move
erp5_mysql_innodb_catalog
back
to
BT5
type
<
dtml
-
var
sql_delimiter
>
<
dtml
-
var
sql_delimiter
>
...
@@ -26,12 +21,7 @@ DELETE FROM `quantity_unit_conversion` WHERE
...
@@ -26,12 +21,7 @@ DELETE FROM `quantity_unit_conversion` WHERE
<
dtml
-
call
"value_list.extend(loop_item.values())"
>
<
dtml
-
call
"value_list.extend(loop_item.values())"
>
</
dtml
-
in
>
</
dtml
-
in
>
<<<<<<<
HEAD
INSERT
INTO
`quantity_unit_conversion`
VALUES
INSERT
INTO
`quantity_unit_conversion`
VALUES
=======
REPLACE
INTO
`quantity_unit_conversion`
VALUES
>>>>>>>
3
ce2fc0
...
bt5_prototype
:
Move
erp5_mysql_innodb_catalog
back
to
BT5
type
<
dtml
-
in
"value_list"
prefix
=
"loop"
>
<
dtml
-
in
"value_list"
prefix
=
"loop"
>
(
(
<
dtml
-
sqlvar
expr
=
"loop_item['uid']"
type
=
"int"
optional
>
,
<
dtml
-
sqlvar
expr
=
"loop_item['uid']"
type
=
"int"
optional
>
,
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_stock_list.sql
View file @
03707203
DELETE
FROM
DELETE
FROM
stock
stock
WHERE
WHERE
<<<<<<<
HEAD
<
dtml
-
sqltest
uid
type
=
"int"
multiple
>
<
dtml
-
sqltest
uid
type
=
"int"
multiple
>
<
dtml
-
var
sql_delimiter
>
<
dtml
-
var
sql_delimiter
>
=======
<
dtml
-
in
uid
>
uid
=<
dtml
-
sqlvar
sequence
-
item
type
=
"int"
><
dtml
-
if
sequence
-
end
><
dtml
-
else
>
OR
</
dtml
-
if
>
</
dtml
-
in
>
;
<
dtml
-
var
"'
\0
'"
>
>>>>>>>
3
ce2fc0
...
bt5_prototype
:
Move
erp5_mysql_innodb_catalog
back
to
BT5
type
<
dtml
-
let
row_list
=
"[]"
uid_dict
=
"{}"
>
<
dtml
-
let
row_list
=
"[]"
uid_dict
=
"{}"
>
<
dtml
-
in
prefix
=
"loop"
expr
=
"_.range(_.len(uid))"
>
<
dtml
-
in
prefix
=
"loop"
expr
=
"_.range(_.len(uid))"
>
<
dtml
-
if
"not(isInventoryMovement[loop_item]) and isMovement[loop_item] and getResourceUid[loop_item]"
>
<
dtml
-
if
"not(isInventoryMovement[loop_item]) and isMovement[loop_item] and getResourceUid[loop_item]"
>
...
@@ -81,11 +72,7 @@ WHERE
...
@@ -81,11 +72,7 @@ WHERE
</
dtml
-
in
>
</
dtml
-
in
>
<
dtml
-
if
"row_list"
>
<
dtml
-
if
"row_list"
>
<<<<<<<
HEAD
INSERT
INTO
INSERT
INTO
=======
REPLACE
INTO
>>>>>>>
3
ce2fc0
...
bt5_prototype
:
Move
erp5_mysql_innodb_catalog
back
to
BT5
type
stock
stock
(
(
`uid`
,
`uid`
,
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_transformation_list.sql
View file @
03707203
...
@@ -3,11 +3,7 @@
...
@@ -3,11 +3,7 @@
DELETE
FROM
`transformation`
WHERE
DELETE
FROM
`transformation`
WHERE
<
dtml
-
sqltest
expr
=
"outer_item['uid']"
column
=
"uid"
type
=
"int"
>
<
dtml
-
sqltest
expr
=
"outer_item['uid']"
column
=
"uid"
type
=
"int"
>
AND
AND
<<<<<<<
HEAD
<
dtml
-
sqltest
expr
=
"outer_item['variation_text']"
column
=
"variation_text"
type
=
"string"
>
<
dtml
-
sqltest
expr
=
"outer_item['variation_text']"
column
=
"variation_text"
type
=
"string"
>
=======
<
dtml
-
sqltest
expr
=
"outer_item['variation_text']"
column
=
"variation_text"
type
=
"string"
>
;
>>>>>>>
3
ce2fc0
...
bt5_prototype
:
Move
erp5_mysql_innodb_catalog
back
to
BT5
type
<
dtml
-
var
sql_delimiter
>
<
dtml
-
var
sql_delimiter
>
<
dtml
-
call
"row_list.extend(outer_item['row_dict_list'])"
>
<
dtml
-
call
"row_list.extend(outer_item['row_dict_list'])"
>
</
dtml
-
in
>
</
dtml
-
in
>
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_get_table_schema.xml
View file @
03707203
...
@@ -7,20 +7,16 @@
...
@@ -7,20 +7,16 @@
<pickle>
<pickle>
<dictionary>
<dictionary>
<item>
<item>
<<<<<<
< HEAD
<key>
<string>
allow_simple_one_argument_traversal
</string>
</key>
<key>
<string>
allow_simple_one_argument_traversal
</string>
</key>
<value>
<value>
<none/>
<none/>
</value>
</value>
</item>
</item>
<item>
<item>
=======
>>>>>>> e319ca4... bt5_prototype: Move erp5_mysql_innodb_catalog back to BT5 type
<key>
<string>
arguments_src
</string>
</key>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<item>
<<<<<<
< HEAD
<key>
<string>
cache_time_
</string>
</key>
<key>
<string>
cache_time_
</string>
</key>
<value>
<int>
0
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
...
@@ -37,8 +33,6 @@
...
@@ -37,8 +33,6 @@
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<item>
=======
>>>>>>> e319ca4... bt5_prototype: Move erp5_mysql_innodb_catalog back to BT5 type
<key>
<string>
connection_id
</string>
</key>
<key>
<string>
connection_id
</string>
</key>
<value>
<string>
erp5_sql_connection
</string>
</value>
<value>
<string>
erp5_sql_connection
</string>
</value>
</item>
</item>
...
@@ -47,7 +41,6 @@
...
@@ -47,7 +41,6 @@
<value>
<string>
z_get_table_schema
</string>
</value>
<value>
<string>
z_get_table_schema
</string>
</value>
</item>
</item>
<item>
<item>
<<<<<<
< HEAD
<key>
<string>
max_cache_
</string>
</key>
<key>
<string>
max_cache_
</string>
</key>
<value>
<int>
100
</int>
</value>
<value>
<int>
100
</int>
</value>
</item>
</item>
...
@@ -56,8 +49,6 @@
...
@@ -56,8 +49,6 @@
<value>
<int>
0
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
<item>
<item>
=======
>>>>>>> e319ca4... bt5_prototype: Move erp5_mysql_innodb_catalog back to BT5 type
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_getitem_by_path.sql
View file @
03707203
SELECT
<
dtml
-
if
uid_only
>
uid
<
dtml
-
else
>
uid
,
path
</
dtml
-
if
>
from
catalog
SELECT
<
dtml
-
if
uid_only
>
uid
<
dtml
-
else
>
uid
,
path
</
dtml
-
if
>
from
catalog
WHERE
WHERE
<<<<<<<
HEAD
<
dtml
-
if
path_list
>
<
dtml
-
if
path_list
>
path
IN
(
<
dtml
-
in
path_list
><
dtml
-
sqlvar
sequence
-
item
type
=
"string"
>
path
IN
(
<
dtml
-
in
path_list
><
dtml
-
sqlvar
sequence
-
item
type
=
"string"
>
<
dtml
-
if
sequence
-
end
><
dtml
-
else
>
,
</
dtml
-
if
></
dtml
-
in
>
)
<
dtml
-
if
sequence
-
end
><
dtml
-
else
>
,
</
dtml
-
if
></
dtml
-
in
>
)
...
@@ -8,13 +7,4 @@ WHERE
...
@@ -8,13 +7,4 @@ WHERE
<
dtml
-
else
>
<
dtml
-
else
>
<
dtml
-
sqltest
path
op
=
eq
type
=
"string"
>
<
dtml
-
sqltest
path
op
=
eq
type
=
"string"
>
LIMIT
1
LIMIT
1
=======
1
=
1
<
dtml
-
if
path
>
AND
<
dtml
-
sqltest
path
op
=
eq
type
=
"string"
>
</
dtml
-
if
>
<
dtml
-
if
path_list
>
AND
path
IN
(
<
dtml
-
in
path_list
><
dtml
-
sqlvar
sequence
-
item
type
=
"string"
>
<
dtml
-
if
sequence
-
end
><
dtml
-
else
>
,
</
dtml
-
if
></
dtml
-
in
>
)
>>>>>>>
3
ce2fc0
...
bt5_prototype
:
Move
erp5_mysql_innodb_catalog
back
to
BT5
type
</
dtml
-
if
>
</
dtml
-
if
>
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_getitem_by_uid.sql
View file @
03707203
SELECT
<
dtml
-
if
path_only
>
path
<
dtml
-
else
>
uid
,
path
</
dtml
-
if
>
from
catalog
SELECT
<
dtml
-
if
path_only
>
path
<
dtml
-
else
>
uid
,
path
</
dtml
-
if
>
from
catalog
WHERE
WHERE
<<<<<<<
HEAD
<
dtml
-
if
uid_list
>
<
dtml
-
if
uid_list
>
uid
IN
(
<
dtml
-
in
uid_list
><
dtml
-
sqlvar
sequence
-
item
type
=
"int"
>
uid
IN
(
<
dtml
-
in
uid_list
><
dtml
-
sqlvar
sequence
-
item
type
=
"int"
>
<
dtml
-
if
sequence
-
end
><
dtml
-
else
>
,
</
dtml
-
if
></
dtml
-
in
>
)
<
dtml
-
if
sequence
-
end
><
dtml
-
else
>
,
</
dtml
-
if
></
dtml
-
in
>
)
...
@@ -8,13 +7,4 @@ WHERE
...
@@ -8,13 +7,4 @@ WHERE
<
dtml
-
else
>
<
dtml
-
else
>
<
dtml
-
sqltest
uid
op
=
eq
type
=
"int"
>
<
dtml
-
sqltest
uid
op
=
eq
type
=
"int"
>
LIMIT
1
LIMIT
1
=======
1
=
1
<
dtml
-
if
expr
=
"uid is not None"
>
AND
<
dtml
-
sqltest
uid
op
=
eq
type
=
"int"
>
</
dtml
-
if
>
<
dtml
-
if
uid_list
>
AND
uid
IN
(
<
dtml
-
in
uid_list
><
dtml
-
sqlvar
sequence
-
item
type
=
"int"
>
<
dtml
-
if
sequence
-
end
><
dtml
-
else
>
,
</
dtml
-
if
></
dtml
-
in
>
)
>>>>>>>
3
ce2fc0
...
bt5_prototype
:
Move
erp5_mysql_innodb_catalog
back
to
BT5
type
</
dtml
-
if
>
</
dtml
-
if
>
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_produce_reserved_uid_list.sql
View file @
03707203
...
@@ -4,15 +4,9 @@ VALUES
...
@@ -4,15 +4,9 @@ VALUES
<
dtml
-
in
"_.range(count - 1)"
>
<
dtml
-
in
"_.range(count - 1)"
>
(
<
dtml
-
sqlvar
instance_id
type
=
"string"
>
,
'reserved'
)
,
(
<
dtml
-
sqlvar
instance_id
type
=
"string"
>
,
'reserved'
)
,
</
dtml
-
in
>
</
dtml
-
in
>
<<<<<<<
HEAD
(
<
dtml
-
sqlvar
instance_id
type
=
"string"
>
,
'reserved'
)
(
<
dtml
-
sqlvar
instance_id
type
=
"string"
>
,
'reserved'
)
<
dtml
-
var
sql_delimiter
>
<
dtml
-
var
sql_delimiter
>
=======
(
<
dtml
-
sqlvar
instance_id
type
=
"string"
>
,
'reserved'
);
<
dtml
-
var
"'
\0
'"
>
>>>>>>>
3
ce2fc0
...
bt5_prototype
:
Move
erp5_mysql_innodb_catalog
back
to
BT5
type
SELECT
SELECT
uid
uid
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogRelatedKeyTemplateItem/related_key_list.xml
View file @
03707203
...
@@ -62,8 +62,4 @@
...
@@ -62,8 +62,4 @@
<key>
translated_simulation_state_title | translation/translated_message/z_related_translated_simulation_state_title
</key>
<key>
translated_simulation_state_title | translation/translated_message/z_related_translated_simulation_state_title
</key>
<key>
translated_validation_state | translation/translated_message/z_related_translated_validation_state
</key>
<key>
translated_validation_state | translation/translated_message/z_related_translated_validation_state
</key>
<key>
translated_validation_state_title | translation/translated_message/z_related_translated_validation_state_title
</key>
<key>
translated_validation_state_title | translation/translated_message/z_related_translated_validation_state_title
</key>
<<<<<<
< HEAD
=======
<key
>
variationCategory | category/category_uid/z_related_uid
</key>
>>>>>>> 3ce2fc0... bt5_prototype: Move erp5_mysql_innodb_catalog back to BT5 type
</key_list>
</key_list>
\ No newline at end of file
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/template_catalog_related_key_list
View file @
03707203
...
@@ -41,10 +41,6 @@ item_section_category_uid | category/category_uid/z_related_section_uid_from_ite
...
@@ -41,10 +41,6 @@ item_section_category_uid | category/category_uid/z_related_section_uid_from_ite
parent_relative_url | catalog/relative_url/z_related_parent
parent_relative_url | catalog/relative_url/z_related_parent
resourceType | catalog/portal_type/z_related_resource_uid_from_stock
resourceType | catalog/portal_type/z_related_resource_uid_from_stock
grand_parent_portal_type | catalog,catalog/portal_type/z_related_grand_parent
grand_parent_portal_type | catalog,catalog/portal_type/z_related_grand_parent
<<<<<<< HEAD
=======
variationCategory | category/category_uid/z_related_uid
>>>>>>> 3ce2fc0... bt5_prototype: Move erp5_mysql_innodb_catalog back to BT5 type
translated_validation_state | translation/translated_message/z_related_translated_validation_state
translated_validation_state | translation/translated_message/z_related_translated_validation_state
stock_resource_category_uid | category/category_uid/z_related_resource_uid_from_stock
stock_resource_category_uid | category/category_uid/z_related_resource_uid_from_stock
parent_title | catalog/title/z_related_parent
parent_title | catalog/title/z_related_parent
...
...
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