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
Papa Tamsir Kane
erp5
Commits
e7a380e5
Commit
e7a380e5
authored
Jun 02, 2011
by
Vera Kurpas
Committed by
Julien Muchembled
Jun 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Ifnull to ZSQL method for correcting the FIFO value if there were no outgoing transactions.
parent
2174b467
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetAssetPrice.xml
...teItem/portal_skins/erp5_core/Resource_zGetAssetPrice.xml
+2
-2
product/ERP5/bootstrap/erp5_core/bt/revision
product/ERP5/bootstrap/erp5_core/bt/revision
+1
-1
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetAssetPrice.xml
View file @
e7a380e5
...
@@ -121,7 +121,7 @@ quantity at each step:\n
...
@@ -121,7 +121,7 @@ quantity at each step:\n
*/\n
*/\n
SET\n
SET\n
@unbalanced_output:=\n
@unbalanced_output:=\n
(SELECT\n
IFNULL(
(SELECT\n
SUM(-quantity)\n
SUM(-quantity)\n
FROM\n
FROM\n
stock, catalog\n
stock, catalog\n
...
@@ -129,7 +129,7 @@ SET\n
...
@@ -129,7 +129,7 @@ SET\n
quantity
< 0
\n
quantity
< 0
\n
AND\n
AND\n
<dtml-var
where_expression
>
\n
<dtml-var
where_expression
>
\n
),\n
),
0),
\n
@total_asset_price=0\n
@total_asset_price=0\n
<dtml-var
sql_delimiter
>
\n
<dtml-var
sql_delimiter
>
\n
\n
\n
...
...
product/ERP5/bootstrap/erp5_core/bt/revision
View file @
e7a380e5
40958
40959
\ No newline at end of file
\ No newline at end of file
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