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
Thomas Leymonerie
slapos.core
Commits
1f744b05
Commit
1f744b05
authored
May 29, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate not confirmed Sale Orders.
parent
26aaff3d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/ERP5Site_removeSimulationOrderedSaleOrder.xml
...ib_upgrader/ERP5Site_removeSimulationOrderedSaleOrder.xml
+1
-1
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/SaleOrder_removeAppliedRuleOnOrdered.xml
...s/vifib_upgrader/SaleOrder_removeAppliedRuleOnOrdered.xml
+2
-2
master/bt5/vifib_upgrader/bt/revision
master/bt5/vifib_upgrader/bt/revision
+1
-1
No files found.
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/ERP5Site_removeSimulationOrderedSaleOrder.xml
View file @
1f744b05
...
...
@@ -52,7 +52,7 @@
<key>
<string>
_body
</string>
</key>
<value>
<string>
context.getPortalObject().portal_catalog.searchAndActivate(\n
portal_type=\'Sale Order\',\n
simulation_state=\'
order
ed\',\n
simulation_state=\'
!= confirm
ed\',\n
method_id=\'SaleOrder_removeAppliedRuleOnOrdered\'\n
)\n
</string>
</value>
...
...
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/SaleOrder_removeAppliedRuleOnOrdered.xml
View file @
1f744b05
...
...
@@ -52,8 +52,8 @@
<key>
<string>
_body
</string>
</key>
<value>
<string>
if context.getPortalType() != \'Sale Order\':\n
raise TypeError(\'%r is not Sale Order\' % context.getPath())\n
if context.getSimulationState()
!= \'order
ed\':\n
raise TypeError(\'%r is
not order
ed\' % context.getPath())\n
if context.getSimulationState()
== \'confirm
ed\':\n
raise TypeError(\'%r is
confirm
ed\' % context.getPath())\n
\n
for applied_rule in context.getPortalObject().portal_catalog(\n
portal_type=\'Applied Rule\',\n
...
...
master/bt5/vifib_upgrader/bt/revision
View file @
1f744b05
84
\ No newline at end of file
85
\ 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