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
Hardik Juneja
slapos.core
Commits
6fb784bf
Commit
6fb784bf
authored
May 14, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix property on newly created packing list
parent
64706d92
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
master/bt5/vifib_slapos_accounting/WorkflowTemplateItem/portal_workflow/instance_accounting_slap_interaction_workflow/scripts/Instance_changePromiseState.xml
...eraction_workflow/scripts/Instance_changePromiseState.xml
+2
-1
master/bt5/vifib_slapos_accounting/bt/revision
master/bt5/vifib_slapos_accounting/bt/revision
+1
-1
No files found.
master/bt5/vifib_slapos_accounting/WorkflowTemplateItem/portal_workflow/instance_accounting_slap_interaction_workflow/scripts/Instance_changePromiseState.xml
View file @
6fb784bf
...
@@ -151,6 +151,7 @@ else:\n
...
@@ -151,6 +151,7 @@ else:\n
source=delivery.getSource(),\n
source=delivery.getSource(),\n
source_section=delivery.getSourceSection(),\n
source_section=delivery.getSourceSection(),\n
price_currency=delivery.getPriceCurrency(),\n
price_currency=delivery.getPriceCurrency(),\n
quantity_unit=delivery.getQuantityUnit(),\n
start_date=DateTime())\n
start_date=DateTime())\n
\n
\n
if (state == started):\n
if (state == started):\n
...
@@ -163,7 +164,7 @@ else:\n
...
@@ -163,7 +164,7 @@ else:\n
packing_list_line = packing_list.newContent(\n
packing_list_line = packing_list.newContent(\n
portal_type=\'Sale Packing List Line\',\n
portal_type=\'Sale Packing List Line\',\n
resource=service_relative_url,\n
resource=service_relative_url,\n
quantity=
service.getQuantity()
,\n
quantity=
1
,\n
aggregate_list=delivery.getAggregateList(),\n
aggregate_list=delivery.getAggregateList(),\n
# XXX Hardcode price on service\n
# XXX Hardcode price on service\n
price=service.getSaleSupplyLineBasePrice(),\n
price=service.getSaleSupplyLineBasePrice(),\n
...
...
master/bt5/vifib_slapos_accounting/bt/revision
View file @
6fb784bf
5
6
\ 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