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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastian
erp5
Commits
c4b8f2d5
Commit
c4b8f2d5
authored
May 17, 2016
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
z_catalog_stock_list: Name columns explicitely.
Makes future table structure changes easier.
parent
28f8c26f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
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
+25
-0
No files found.
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_stock_list.sql
View file @
c4b8f2d5
...
...
@@ -69,6 +69,31 @@ WHERE
<
dtml
-
if
"row_list"
>
REPLACE
INTO
stock
(
`uid`
,
`order_id`
,
`explanation_uid`
,
`node_uid`
,
`section_uid`
,
`payment_uid`
,
`function_uid`
,
`project_uid`
,
`funding_uid`
,
`payment_request_uid`
,
`mirror_section_uid`
,
`mirror_node_uid`
,
`resource_uid`
,
`quantity`
,
`is_cancellation`
,
`is_accountable`
,
`date`
,
`mirror_date`
,
`total_price`
,
`portal_type`
,
`simulation_state`
,
`variation_text`
,
`sub_variation_text`
)
VALUES
<
dtml
-
in
prefix
=
"row"
expr
=
"row_list"
>
(
...
...
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