Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sven Franck
erp5
Commits
76d0fc79
Commit
76d0fc79
authored
Jan 19, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Relax test on simulation movements.
parent
a386a10f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
bt5/erp5_simulation_test/SkinTemplateItem/portal_skins/erp5_simulation_test/BusinessLink_testDeliveryLink.xml
...ns/erp5_simulation_test/BusinessLink_testDeliveryLink.xml
+9
-5
bt5/erp5_simulation_test/bt/revision
bt5/erp5_simulation_test/bt/revision
+1
-1
No files found.
bt5/erp5_simulation_test/SkinTemplateItem/portal_skins/erp5_simulation_test/BusinessLink_testDeliveryLink.xml
View file @
76d0fc79
...
...
@@ -50,13 +50,17 @@
</item>
<item>
<key>
<string>
_body
</string>
</key>
<value>
<string>
rule = context.getParentValue().getSpecialiseValue()\n
<value>
<string>
if context.isTempDocument():\n
# no way to check deeper temporary movements\n
return True\n
\n
rule = context.getParentValue().getSpecialiseValue()\n
if rule is not None:\n
if rule.getPortalType()
not
in expected_rule_portal_type_list:\n
if rule.getPortalType() in expected_rule_portal_type_list:\n
# for sure does not apply\n
return
Fals
e\n
# rule is None, so maybe temporary movement, might apply
\n
return
Tru
e\n
return
Tru
e\n
\n
return
Fals
e\n
</string>
</value>
</item>
<item>
...
...
bt5/erp5_simulation_test/bt/revision
View file @
76d0fc79
31
\ No newline at end of file
32
\ 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