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
Jérome Perrin
slapos.core
Commits
8d58f74e
Commit
8d58f74e
authored
Dec 14, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Parameters are now mandatory.
parent
3b3e9609
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
17 deletions
+10
-17
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/Person_getOpenSaleOrderDifference.xml
...s/slapos_accounting/Person_getOpenSaleOrderDifference.xml
+1
-8
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/Person_storeOpenSaleOrderJournal.xml
...ns/slapos_accounting/Person_storeOpenSaleOrderJournal.xml
+4
-4
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/Person_updateOpenSaleOrder.xml
...al_skins/slapos_accounting/Person_updateOpenSaleOrder.xml
+4
-4
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_getOpenSaleOrderDifference.xml
View file @
8d58f74e
...
...
@@ -58,13 +58,6 @@ from DateTime import DateTime\n
person = context\n
portal = person.getPortalObject()\n
\n
if remove_hosting_list is None:\n
remove_hosting_list = []\n
if add_kw_list is None:\n
add_kw_list = []\n
if start_date_tuple_list is None:\n
start_date_tuple_list = []\n
\n
previous_open_sale_order = portal.portal_catalog.getResultValue(\n
default_destination_uid=person.getUid(),\n
portal_type="Open Sale Order",\n
...
...
@@ -168,7 +161,7 @@ return add_kw_kw, modify_kw_kw, list(remove_id_list)\n
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
remove_hosting_list
=None, add_kw_list=None, start_date_tuple_list=None
</string>
</value>
<value>
<string>
remove_hosting_list
, add_kw_list, start_date_tuple_list
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
...
...
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/Person_storeOpenSaleOrderJournal.xml
View file @
8d58f74e
...
...
@@ -87,10 +87,10 @@ for hosting_subscription in portal.portal_catalog(\n
\n
\n
result = context.Person_updateOpenSaleOrder(\n
src__=src__
,\n
remove_hosting_list=remove_hosting
_list,\n
add_kw_list=add_kw
_list,\n
s
tart_date_tuple_list=start_date_tuple_list
)\n
remove_hosting_list
,\n
add_kw
_list,\n
start_date_tuple
_list,\n
s
rc__=src__
)\n
from pprint import pformat\n
return pformat(result)\n
</string>
</value>
...
...
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/Person_updateOpenSaleOrder.xml
View file @
8d58f74e
...
...
@@ -66,9 +66,9 @@ def storeWorkflowComment(document, comment):\n
portal.portal_workflow.doActionFor(document, \'edit_action\', comment=comment)\n
\n
add_kw_kw, modify_kw_kw, remove_id_list = context.Person_getOpenSaleOrderDifference(\n
remove_hosting_list
=remove_hosting_list
,\n
add_kw_list
=add_kw_list
,\n
start_date_tuple_list
=start_date_tuple_list
)\n
remove_hosting_list,\n
add_kw_list,\n
start_date_tuple_list)\n
\n
if src__== 1:\n
return add_kw_kw, modify_kw_kw, remove_id_list\n
...
...
@@ -132,7 +132,7 @@ return add_kw_kw, modify_kw_kw, remove_id_list\n
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
src__=0, remove_hosting_list=None, add_kw_list=None, start_date_tuple_list=None
</string>
</value>
<value>
<string>
remove_hosting_list, add_kw_list, start_date_tuple_list, src__
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
...
...
master/bt5/slapos_accounting/bt/revision
View file @
8d58f74e
223
\ No newline at end of file
224
\ 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