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
Binh
erp5
Commits
197cf943
Commit
197cf943
authored
Oct 04, 2013
by
Mame Coumba Sall
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify zsql method so that movements without source or destination can be selected in stock table
parent
f14c1ac4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_stock_list.xml
...portal_catalog/erp5_mysql_innodb/z_catalog_stock_list.xml
+3
-3
No files found.
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_stock_list.xml
View file @
197cf943
...
...
@@ -95,7 +95,7 @@ WHERE\n
<dtml-let
row_list=
"[]"
uid_dict=
"{}"
>
\n
<dtml-in
prefix=
"loop"
expr=
"_.range(_.len(uid))"
>
\n
<dtml-if
"not(isInventoryMovement[loop_item])
and
isMovement[loop_item]
and
getResourceUid[loop_item]"
>
\n
<dtml-if
"getDestinationUid[loop_item]"
>
\n
<dtml-if
"getDestination
Section
Uid[loop_item]"
>
\n
<dtml-call
expr=
"uid_dict.update({uid[loop_item]: uid_dict.get(uid[loop_item], -1) + 1})"
>
\n
<dtml-call
expr=
"row_list.append([\n
uid[loop_item], \n
...
...
@@ -122,7 +122,7 @@ WHERE\n
getVariationText[loop_item],\n
getSubVariationText[loop_item]])"
>
\n
</dtml-if>
\n
<dtml-if
"getSourceUid[loop_item]"
>
\n
<dtml-if
"getSource
Section
Uid[loop_item]"
>
\n
<dtml-call
expr=
"uid_dict.update({uid[loop_item]: uid_dict.get(uid[loop_item], -1) + 1})"
>
\n
<dtml-call
expr=
"row_list.append([\n
uid[loop_item], \n
...
...
@@ -160,7 +160,7 @@ VALUES\n
<dtml-sqlvar
expr=
"row_item[0]"
type=
"int"
>
,\n
<dtml-sqlvar
expr=
"row_item[1]"
type=
"int"
>
,\n
<dtml-sqlvar
expr=
"row_item[2]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[3]"
type=
"int"
>
,\n
<dtml-sqlvar
expr=
"row_item[3]"
type=
"int"
optional
>
,\n
<dtml-sqlvar
expr=
"row_item[4]"
type=
"int"
optional
>
, \n
<dtml-sqlvar
expr=
"row_item[5]"
type=
"int"
optional
>
, \n
<dtml-sqlvar
expr=
"row_item[6]"
type=
"int"
optional
>
,\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