Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Boxiang Sun
slapos.core
Commits
5376b067
Commit
5376b067
authored
Dec 14, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unused parameters.
parent
50fe9b4a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
10 deletions
+3
-10
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/Person_storeOpenSaleOrderJournal.xml
...ns/slapos_accounting/Person_storeOpenSaleOrderJournal.xml
+2
-9
master/bt5/slapos_accounting/bt/revision
master/bt5/slapos_accounting/bt/revision
+1
-1
No files found.
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/Person_storeOpenSaleOrderJournal.xml
View file @
5376b067
...
@@ -54,17 +54,10 @@
...
@@ -54,17 +54,10 @@
from Products.ERP5Type.DateUtils import addToDate\n
from Products.ERP5Type.DateUtils import addToDate\n
portal = context.getPortalObject()\n
portal = context.getPortalObject()\n
\n
\n
kw = {}\n
if modification_date is not None:\n
kw[\'modification_date\'] = Query(modification_date=addToDate(modification_date, to_add={\'hour\': -1}), range="min")\n
remove_hosting_list = []\n
remove_hosting_list = []\n
add_kw_list = []\n
add_kw_list = []\n
start_date_tuple_list = []\n
start_date_tuple_list = []\n
\n
\n
hosting_kw = kw.copy()\n
\n
hosting_kw[\'default_destination_section_uid\'] = context.getUid()\n
\n
def getWorkflowDate(document, action):\n
def getWorkflowDate(document, action):\n
workflow_item_list = portal.portal_workflow.getInfoFor(ob=document, name=\'history\', wf_id=\'instance_slap_interface_workflow\')\n
workflow_item_list = portal.portal_workflow.getInfoFor(ob=document, name=\'history\', wf_id=\'instance_slap_interface_workflow\')\n
for item in workflow_item_list:\n
for item in workflow_item_list:\n
...
@@ -74,7 +67,7 @@ def getWorkflowDate(document, action):\n
...
@@ -74,7 +67,7 @@ def getWorkflowDate(document, action):\n
\n
\n
for hosting_subscription in portal.portal_catalog(\n
for hosting_subscription in portal.portal_catalog(\n
portal_type=\'Hosting Subscription\',\n
portal_type=\'Hosting Subscription\',\n
**hosting_kw
\n
default_destination_section_uid=context.getUid(),
\n
):\n
):\n
add_kw = dict(\n
add_kw = dict(\n
title=hosting_subscription.getTitle(),\n
title=hosting_subscription.getTitle(),\n
...
@@ -98,7 +91,7 @@ return pformat(result)\n
...
@@ -98,7 +91,7 @@ return pformat(result)\n
</item>
</item>
<item>
<item>
<key>
<string>
_params
</string>
</key>
<key>
<string>
_params
</string>
</key>
<value>
<string>
src__=0,
modification_date=None,
stop_date=None
</string>
</value>
<value>
<string>
src__=0, stop_date=None
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
...
...
master/bt5/slapos_accounting/bt/revision
View file @
5376b067
215
216
\ 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