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
dd78b72e
Commit
dd78b72e
authored
Mar 01, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide compatibility with previous data.
parent
a1df26c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
master/bt5/vifib_erp5/SkinTemplateItem/portal_skins/vifib_core/SoftwareType_getSecurityCategoryFromAggregateMovementItemByPerson.xml
..._getSecurityCategoryFromAggregateMovementItemByPerson.xml
+4
-2
master/bt5/vifib_erp5/bt/revision
master/bt5/vifib_erp5/bt/revision
+1
-1
No files found.
master/bt5/vifib_erp5/SkinTemplateItem/portal_skins/vifib_core/SoftwareType_getSecurityCategoryFromAggregateMovementItemByPerson.xml
View file @
dd78b72e
...
@@ -67,7 +67,7 @@ category_list = []\n
...
@@ -67,7 +67,7 @@ category_list = []\n
if obj is None:\n
if obj is None:\n
return []\n
return []\n
\n
\n
movement_portal_type =
"Sale Order Line"
\n
movement_portal_type =
["Sale Packing List Line", "Sale Order Line"]
\n
\n
\n
portal = obj.getPortalObject()\n
portal = obj.getPortalObject()\n
\n
\n
...
@@ -77,7 +77,9 @@ parent_url_list = []\n
...
@@ -77,7 +77,9 @@ parent_url_list = []\n
for movement in portal.portal_catalog(\n
for movement in portal.portal_catalog(\n
portal_type=movement_portal_type,\n
portal_type=movement_portal_type,\n
strict_aggregate_uid=obj.getUid(),\n
strict_aggregate_uid=obj.getUid(),\n
simulation_state=(\'ordered\', \'confirmed\'),\n
default_resource_uid=portal.restrictedTraverse(portal.portal_preferences.getPreferredInstanceSetupResource()).getUid(),\n
# simulation_state=(\'ordered\', \'confirmed\', \'started\', \'stopped\'),\n
limit=1,\n
):\n
):\n
item = movement.getDestinationSectionValue(portal_type="Person")\n
item = movement.getDestinationSectionValue(portal_type="Person")\n
if item is not None:\n
if item is not None:\n
...
...
master/bt5/vifib_erp5/bt/revision
View file @
dd78b72e
392
393
\ 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