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
Titouan Soulard
slapos.core
Commits
de0aae98
Commit
de0aae98
authored
Dec 14, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop debugging features.
parent
bd0c76bd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
14 deletions
+5
-14
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/Person_storeOpenSaleOrderJournal.xml
...ns/slapos_accounting/Person_storeOpenSaleOrderJournal.xml
+3
-7
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/Person_updateOpenSaleOrder.xml
...al_skins/slapos_accounting/Person_updateOpenSaleOrder.xml
+1
-6
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 @
de0aae98
...
@@ -85,19 +85,15 @@ for hosting_subscription in portal.portal_catalog(\n
...
@@ -85,19 +85,15 @@ for hosting_subscription in portal.portal_catalog(\n
start_date_tuple_list.append((hosting_subscription.getRelativeUrl(),\n
start_date_tuple_list.append((hosting_subscription.getRelativeUrl(),\n
start_date))\n
start_date))\n
\n
\n
\n
context.Person_updateOpenSaleOrder(\n
result = context.Person_updateOpenSaleOrder(\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
src__=src__)\n
from pprint import pformat\n
return pformat(result)\n
</string>
</value>
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_params
</string>
</key>
<key>
<string>
_params
</string>
</key>
<value>
<string>
src__=0
</string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
...
...
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/Person_updateOpenSaleOrder.xml
View file @
de0aae98
...
@@ -70,9 +70,6 @@ add_kw_kw, modify_kw_kw, remove_id_list = context.Person_getOpenSaleOrderDiffere
...
@@ -70,9 +70,6 @@ add_kw_kw, modify_kw_kw, remove_id_list = context.Person_getOpenSaleOrderDiffere
add_kw_list,\n
add_kw_list,\n
start_date_tuple_list)\n
start_date_tuple_list)\n
\n
\n
if src__== 1:\n
return add_kw_kw, modify_kw_kw, remove_id_list\n
\n
now = DateTime()\n
now = DateTime()\n
previous_open_sale_order = portal.portal_catalog.getResultValue(\n
previous_open_sale_order = portal.portal_catalog.getResultValue(\n
default_destination_uid=person.getUid(),\n
default_destination_uid=person.getUid(),\n
...
@@ -122,15 +119,13 @@ for hs, kw in modify_kw_kw.iteritems():\n
...
@@ -122,15 +119,13 @@ for hs, kw in modify_kw_kw.iteritems():\n
open_sale_order.deleteContent([q[0] for q in remove_id_list])\n
open_sale_order.deleteContent([q[0] for q in remove_id_list])\n
for explanation in remove_id_list:\n
for explanation in remove_id_list:\n
storeWorkflowComment(open_sale_order, explanation[1])\n
storeWorkflowComment(open_sale_order, explanation[1])\n
\n
return add_kw_kw, modify_kw_kw, remove_id_list\n
]]>
</string>
</value>
]]>
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_params
</string>
</key>
<key>
<string>
_params
</string>
</key>
<value>
<string>
remove_hosting_list, add_kw_list, start_date_tuple_list
, src__
</string>
</value>
<value>
<string>
remove_hosting_list, add_kw_list, start_date_tuple_list
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
...
...
master/bt5/slapos_accounting/bt/revision
View file @
de0aae98
228
229
\ 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